Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.8.0
->0.8.1
Release Notes
astral-sh/ruff (ruff)
v0.8.1
Compare Source
Preview features
**
) in overlong f-string expressions (#14489)airflow
] Avoid implicitschedule
argument toDAG
and@dag
(AIR301
) (#14581)flake8-builtins
] Exempt private built-in modules (A005
) (#14505)flake8-pytest-style
] Fixpytest.mark.parametrize
rules to check calls instead of decorators (#14515)flake8-type-checking
] Implementruntime-cast-value
(TC006
) (#14511)flake8-type-checking
] Implementunquoted-type-alias
(TC007
) andquoted-type-alias
(TC008
) (#12927)flake8-use-pathlib
] RecommendPath.iterdir()
overos.listdir()
(PTH208
) (#14509)pylint
] Extendinvalid-envvar-default
to detectos.environ.get
(PLW1508
) (#14512)pylint
] Implementlen-test
(PLC1802
) (#14309)refurb
] Fix bug where methods defined using lambdas were flagged byFURB118
(#14639)ruff
] Auto-addr
prefix when string has no backslashes forunraw-re-pattern
(RUF039
) (#14536)ruff
] Implementinvalid-assert-message-literal-argument
(RUF040
) (#14488)ruff
] Implementunnecessary-nested-literal
(RUF041
) (#14323)ruff
] Implementunnecessary-regular-expression
(RUF055
) (#14659)Rule changes
pep8-naming
] Eliminate false positives for single-letter names (N811
,N814
) (#14584)pyflakes
] Avoid false positives in@no_type_check
contexts (F821
,F722
) (#14615)ruff
] Detect redirected-noqa in file-level comments (RUF101
) (#14635)ruff
] Mark fixes forunsorted-dunder-all
andunsorted-dunder-slots
as unsafe when there are complex comments in the sequence (RUF022
,RUF023
) (#14560)Bug fixes
None | None
forredundant-none-literal
(PYI061
) andnever-union
(RUF020
) (#14583, #14589)flake8-bugbear
] Fixmutable-contextvar-default
to resolve annotated function calls properly (B039
) (#14532)flake8-pyi
,ruff
] Fix traversal of nested literals and unions (PYI016
,PYI051
,PYI055
,PYI062
,RUF041
) (#14641)flake8-pyi
] Avoid rewriting invalid type expressions inunnecessary-type-union
(PYI055
) (#14660)flake8-type-checking
] Avoid syntax errors and type checking problem for quoted annotations autofix (TC003
,TC006
) (#14634)pylint
] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (PLC2801
) (#14601)ruff
] Handleattrs
'sauto_attribs
correctly (RUF009
) (#14520)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.