Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint with ruff #1129

Draft
wants to merge 2 commits into
base: main-dev
Choose a base branch
from
Draft

lint with ruff #1129

wants to merge 2 commits into from

Conversation

avaldebe
Copy link
Collaborator

Change Summary

Use ruff to improve and maintain coding standards.

  • replace black and isort with ruff format
  • implement improvements suggested by ruff check
  • update pre-commit configuration
  • update the relevant CI job

At the moment ruff check --statistics reports ~583 improvements:

Related issue number

close #1119

Checklist

  • Start with a draft-PR
  • The PR title is a good summary of the changes
  • PR is set to AeroTools and a tentative milestone
  • Documentation reflects the changes where applicable
  • Tests for the changes exist where applicable
  • Tests pass locally
  • Tests pass on CI
  • At least 1 reviewer is selected
  • Make PR ready to review

@avaldebe avaldebe added enhancement New feature or request style labels Apr 19, 2024
@avaldebe avaldebe self-assigned this Apr 19, 2024
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.25%. Comparing base (cadc4ab) to head (6312b2b).
Report is 1 commits behind head on main-dev.

Additional details and impacted files
@@            Coverage Diff            @@
##           main-dev    #1129   +/-   ##
=========================================
  Coverage     79.25%   79.25%           
=========================================
  Files           110      110           
  Lines         19103    19103           
=========================================
  Hits          15140    15140           
  Misses         3963     3963           
Flag Coverage Δ
unittests 79.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ruff up pyaerocom
1 participant