-
-
Notifications
You must be signed in to change notification settings - Fork 369
CI(deps): Update ruff to v0.14.0 #6450
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
Conversation
88bfaa1
to
e5f31a0
Compare
@wenzeslaus (concerning one single file): If you read through the really well detailed PR/PR description of astral-sh/ruff#20200 and understanding how python really uses the imports, plus the last example at the end of https://docs.astral.sh/ruff/rules/unused-import/ (F401), and even https://docs.python.org/3/library/importlib.html#checking-if-a-module-can-be-imported + https://docs.python.org/3/library/importlib.html#importlib.util.find_spec, do you end up with the same conclusion and fix for the python/grass/temporal/core.py file? @petrasovaa Can you double-check the 4 gui related files, to make sure I didn't skip anything that really would have needed some members made available by the imports? I tried searching for multiple ones when looking at the implementation files of wxPython+class docs. You could skim through the issue I talked above, but it is less of the case for these 4 files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ones in gui are fine. It would be good to remove the comment in wxgui.py. I couldn't reproduce the debug message, so maybe it's gone by now. In any case it's not harmful.
eb7e419
to
8999d1b
Compare
I forgot that the PR was modified by me before updating the PR again. I'll see what you mean by the debug message, and re-cherry-pick the commits. Once I'll be on the computer |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As it was reviewed before, and was fine, going forward and merging once CI passes
This PR contains the following updates:
v0.13.2
->v0.14.0
0.13.2
->0.14.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)
v0.14.0
Compare Source
See: https://github.com/astral-sh/ruff/releases/tag/0.14.0
v0.13.3
Compare Source
See: https://github.com/astral-sh/ruff/releases/tag/0.13.3
astral-sh/ruff (ruff)
v0.14.0
Compare Source
Released on 2025-10-07.
Breaking changes
Preview features
flake8-bugbear
] Include certain guaranteed-mutable expressions: tuples, generators, and assignment expressions (B006
) (#20024)refurb
] Add fixes forFURB101
andFURB103
(#20520)ruff
] ExtendFA102
with listed PEP 585-compatible APIs (#20659)Bug fixes
flake8-annotations
] Fix return type annotations to handle shadowed builtin symbols (ANN201
,ANN202
,ANN204
,ANN205
,ANN206
) (#20612)flynt
] Fix f-string quoting for mixed quote joiners (FLY002
) (#20662)isort
] Fix inserting required imports before future imports (I002
) (#20676)ruff
] Handle argfile expansion errors gracefully (#20691)ruff
] SkipRUF051
ifelse
/elif
block is present (#20705)ruff
] Improve handling of intermixed comments inside from-imports (#20561)Documentation
flake8-comprehensions
] Clarify fix safety documentation (C413
) (#20640)Contributors
v0.13.3
Compare Source
Released on 2025-10-02.
Preview features
ruff format --check
and add support for different output formats (#20443)pyflakes
] Handle some common submodule import situations forunused-import
(F401
) (#20200)ruff
] Do not flag%r
+repr()
combinations (RUF065
) (#20600)Bug fixes
cli
] Add conflict between--add-noqa
and--diff
options (#20642)pylint
] Exempt required imports fromPLR0402
(#20381)pylint
] Fix missingmax-nested-blocks
in settings display (#20574)pyupgrade
] Prevent infinite loop withI002
andUP026
(#20634)Rule changes
flake8-simplify
] Improve help message clarity (SIM105
) (#20548)Documentation
isort
] Clarify dependency betweenorder-by-type
andcase-sensitive
settings (#20559)pylint
] Clarify fix safety to include left-hand hashability (PLR6201
) (#20518)Other changes
playground
] Fix quick fixes for empty ranges in playground (#20599)Contributors
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.