Skip to content

Fix lint issues#157

Open
akx wants to merge 7 commits into
MrBin99:masterfrom
akx:fix-linting
Open

Fix lint issues#157
akx wants to merge 7 commits into
MrBin99:masterfrom
akx:fix-linting

Conversation

@akx

@akx akx commented Mar 31, 2025

Copy link
Copy Markdown
Contributor

This PR:

  • pins the version of Ruff used in the repo and adds it to the pre-commit configuration as well
  • fixes various issues flagged by Ruff 0.11.2 (automatically and by hand)
  • switches the formatter used in the repo from black to ruff format (because Ruff is there anyway)

Since Ruff wasn't in the pre-commit configuration, and tox-gh-actions had filtered out tox envs that didn't match the GHA configuration, Ruff lints were never being run in CI.

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