opendatacube / eo-datasets

Easily write, validate and convert EO datasets and metadata.
Apache License 2.0
49 stars 26 forks source link

Fix lint, and replace black+isort+flake8 with Ruff #329

Closed jeremyh closed 5 months ago

jeremyh commented 5 months ago

The lint build didn't seem to be fully frozen, as it has started failing in develop.

We'll go ahead and replace the hybrid set of linting tools with Ruff.

Ruff seems well made, fast, and we've used it successfully in our other repos.

Includes other general clean-up.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (c2c3d81) 84.39% compared to head (8cc87e0) 84.39%. Report is 2 commits behind head on develop.

Files Patch % Lines
eodatasets3/wagl.py 28.57% 5 Missing :warning:
eodatasets3/prepare/landsat_l1_prepare.py 50.00% 1 Missing :warning:
eodatasets3/prepare/s2_common.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #329 +/- ## ======================================== Coverage 84.39% 84.39% ======================================== Files 26 26 Lines 4504 4504 ======================================== Hits 3801 3801 Misses 703 703 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.