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

Add ruff for linting #949

Merged
merged 12 commits into from
Jan 19, 2023
Merged

Add ruff for linting #949

merged 12 commits into from
Jan 19, 2023

Conversation

akx
Copy link
Member

@akx akx commented Jan 18, 2023

Closes #944 (supersedes it)

This PR adds linting via ruff, a very fast linter, and applies a whole bunch of fixes suggested by it. Most of them are mechanical (via --fix), but some were gently hand-tweaked.

@akx akx force-pushed the ruffify branch 3 times, most recently from 40eefb4 to b973635 Compare January 18, 2023 18:39
@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Merging #949 (6e02940) into master (6e02940) will not change coverage.
The diff coverage is n/a.

❗ Current head 6e02940 differs from pull request most recent head d14f956. Consider uploading reports for the commit d14f956 to get more accurate results

@@           Coverage Diff           @@
##           master     #949   +/-   ##
=======================================
  Coverage   90.53%   90.53%           
=======================================
  Files          24       24           
  Lines        4394     4394           
=======================================
  Hits         3978     3978           
  Misses        416      416           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@akx akx force-pushed the ruffify branch 3 times, most recently from 774970c to 1ee74c4 Compare January 18, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant