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

Use ruff for linting & autofixing #1694

Closed
wants to merge 6 commits into from
Closed

Use ruff for linting & autofixing #1694

wants to merge 6 commits into from

Conversation

rytilahti
Copy link
Owner

This replaces the use of flake8, pyupgrade, isort, bandit, and adds extra checks.

Marked as draft as there are plenty of issues to fix:

Found 1260 errors.
605 potentially fixable with the --fix option.

Using --fix causes plenty of warning: Failed to converge after 100 iterations. warnings resulting to Found 30807 errors (29803 fixed, 1004 remaining).. Needs some investigation before reporting the issue to ruff.

Fixes #934

@rytilahti rytilahti marked this pull request as draft January 26, 2023 22:05
@rytilahti rytilahti mentioned this pull request Aug 27, 2023
9 tasks
@rytilahti rytilahti closed this Apr 19, 2024
@rytilahti rytilahti deleted the janitor/use_ruff branch April 19, 2024 23:23
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.

Improve automatic checks
1 participant