Skip to content

Conversation

@joewallwork
Copy link
Contributor

Fixes #396.

As reported in the comments on issue #396, the current pre-commit setup is outdated and is now affected by deprecation errors.

I propose switching to use Ruff for the Python pre-commit linting hook. This tool has been widely accepted in the Python community and it is actively maintained.

This PR switches to use Ruff and applies ruff check --fix to apply linting fixes. There were also some small manual changes required to get it passing.

@joewallwork joewallwork self-assigned this Dec 17, 2025
@joewallwork joewallwork added bug Something isn't working python Pull requests that update Python code build: pre-commit Related to the pre-commit hooks and removed python Pull requests that update Python code labels Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build: pre-commit Related to the pre-commit hooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.pre-commit-config.yaml this file has some error please assign me this issue

1 participant