Skip to content

Fix subset of linting rules #4119

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

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

smokestacklightnin
Copy link
Member

@smokestacklightnin smokestacklightnin commented Aug 9, 2025

Supersedes #2252

Applies pre-commit with Ruff rules from #2251

The description from #2252 applies here:

This PR fixes a bunch of existing lint issues that were automatically fixed by ruff --fix, in preparation for merging #2251. I've ignored a bunch of rule violations, but marked them in ruff.toml so that they can be systematically re-enabled and the violations fixed one by one. The vast majority of these changes are:

  • Removing useless whitespace at the end of lines
  • Making sure the end of file contains a newline
  • Removing unnecessary python 2/3 compatibility __future__ imports
  • Import sorting
  • Replacing calls to format() with f-strings, which are faster and more expressive

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