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

switch flake8 -> ruff #752

Merged
merged 7 commits into from
Nov 21, 2023
Merged

switch flake8 -> ruff #752

merged 7 commits into from
Nov 21, 2023

Conversation

Borda
Copy link
Member

@Borda Borda commented Nov 21, 2023

What does this PR do?

Ruff has been adopted by several major projects already I would consider it as stable and offer significant performance boost and fixing multiple lints in the same time

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Merging #752 (4fc50af) into main (5fa5ca2) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #752   +/-   ##
=======================================
  Coverage   91.49%   91.49%           
=======================================
  Files          17       17           
  Lines        1622     1622           
=======================================
  Hits         1484     1484           
  Misses        138      138           

Copy link
Member

@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ❤️ Ruff. Thanks for this PR @Borda. Very happy to merge.

@willingc willingc enabled auto-merge (squash) November 21, 2023 12:31
@willingc willingc merged commit 220901f into main Nov 21, 2023
14 checks passed
@willingc willingc deleted the precommit/ruff branch November 21, 2023 12:38
akx added a commit to valohai/papermill that referenced this pull request Dec 18, 2023
akx added a commit to valohai/papermill that referenced this pull request Dec 18, 2023
@akx akx mentioned this pull request Dec 18, 2023
MSeal pushed a commit that referenced this pull request Dec 18, 2023
* pre-commit: don't prescribe python 3.8

* pre-commit: get rid of yesqa, it's for flake8 only

flake8 was dropped in #752

* pre-commit: use ruff's UP rules instead of pyupgrade
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