Skip to content

Use Ruff for code formatting#851

Merged
LucaMarconato merged 1 commit intomainfrom
feature/ruff
Jan 31, 2025
Merged

Use Ruff for code formatting#851
LucaMarconato merged 1 commit intomainfrom
feature/ruff

Conversation

@Zethson
Copy link
Member

@Zethson Zethson commented Jan 29, 2025

We are already using Ruff for linting so might as well use it's lightning fast code formatting instead of Black. The implementations and resulting formatting are very close but there can be tiny changes.

Signed-off-by: Lukas Heumos <lukas.heumos@posteo.net>
@Zethson Zethson requested a review from melonora January 29, 2025 21:04
@codecov
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Project coverage is 91.95%. Comparing base (7c280b7) to head (300151c).
Report is 29 commits behind head on main.

Files with missing lines Patch % Lines
src/spatialdata/_core/operations/rasterize.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #851   +/-   ##
=======================================
  Coverage   91.95%   91.95%           
=======================================
  Files          47       47           
  Lines        7293     7293           
=======================================
  Hits         6706     6706           
  Misses        587      587           
Files with missing lines Coverage Δ
src/spatialdata/_core/operations/aggregate.py 94.35% <100.00%> (ø)
src/spatialdata/_core/operations/transform.py 90.82% <100.00%> (ø)
src/spatialdata/_core/operations/vectorize.py 93.71% <100.00%> (ø)
src/spatialdata/_core/query/relational_query.py 90.78% <100.00%> (ø)
src/spatialdata/_core/spatialdata.py 91.26% <100.00%> (ø)
src/spatialdata/_io/_utils.py 87.22% <ø> (ø)
src/spatialdata/dataloader/datasets.py 90.24% <100.00%> (ø)
src/spatialdata/testing.py 98.11% <100.00%> (ø)
src/spatialdata/transformations/operations.py 88.40% <ø> (ø)
src/spatialdata/_core/operations/rasterize.py 90.06% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaMarconato LucaMarconato merged commit fbdd0cb into main Jan 31, 2025
7 checks passed
@LucaMarconato LucaMarconato deleted the feature/ruff branch January 31, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants