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.1 #1890

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

Conversation

DimitriPapadopoulos
Copy link
Contributor

  • Run scripts/update_ruff.py to update.
  • Handle these warnings manually:
    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`.
    

@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?

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 (unused: `ARG002`)
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