Skip to content

Conversation

@sebastianstock
Copy link
Member

This PR updates the pre-commit-config to replace pylint and isort with ruff.
It also fixes the CI workflow config by using ubuntu-latest as 20.04 is deprecated and not avaialbel anymore for github actions.

The reason for using ruff where version incompatibilities between Python 3.12 and the previously used version of pylint. It was also not possible to update pylint to a newer version as this would break compatibility with Python 3.8 which we still have, also this debatable as 3.8 is also not supported, anymore.

Additionally, using ruff has the advantage of being faster than pylint, which is the reasong that pylint documentation does not recommend to use it in the pre-commit stage.

@sebastianstock sebastianstock self-assigned this May 8, 2025
@alexander-sung
Copy link
Contributor

Looks good; thanks for the updates.

@sebastianstock sebastianstock merged commit 3b608d7 into master May 9, 2025
2 checks passed
@sebastianstock sebastianstock deleted the fix_precommit branch May 9, 2025 12:14
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.

3 participants