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

Upgrade Ruff to 0.9.6 #1890

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

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Jan 15, 2025

@DimitriPapadopoulos
Copy link
Contributor Author

DimitriPapadopoulos commented Jan 15, 2025

The linter target should be py38 but hatch fmt --check clearly uses a more recent target, hence the CI errors.

Any clue how the target Python version is chosen?

@DimitriPapadopoulos DimitriPapadopoulos force-pushed the ruff_0.9.1 branch 2 times, most recently from 2b59862 to 78969b4 Compare January 15, 2025 18:36
@DimitriPapadopoulos DimitriPapadopoulos changed the title Upgrade Ruff to 0.9.1 Upgrade Ruff to 0.9.6 Feb 12, 2025
@DimitriPapadopoulos DimitriPapadopoulos force-pushed the ruff_0.9.1 branch 11 times, most recently from ccb8542 to c65f639 Compare February 12, 2025 10:03
Run `python scripts/update_ruff.py`.
warning: `TCH001` has been remapped to `TC001`.
warning: `TCH002` has been remapped to `TC002`.
warning: `TCH003` has been remapped to `TC003`.
warning: `TCH004` has been remapped to `TC004`.
warning: `TCH005` has been remapped to `TC005`.
warning: `TCH010` has been remapped to `TC010`.
warning: `TRY302` has been remapped to `TRY203`.
RUF100 Unused `noqa` directive
@DimitriPapadopoulos DimitriPapadopoulos force-pushed the ruff_0.9.1 branch 2 times, most recently from 185ba43 to de04d74 Compare February 12, 2025 10:06
The minimum Python version is Python 3.8. From `pyproject.toml`:
	requires-python = ">=3.8"

However, `ruff.toml` shadows `pyproject.toml`, prompting ruff to use its
own default target, which is currently Python 3.9.
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