chore(deps): update dependency ruff to v0.11.13 #148
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.11.8
->==0.11.13
Release Notes
astral-sh/ruff (ruff)
v0.11.13
Compare Source
Preview features
airflow
] Add unsafe fix for module moved cases (AIR301
,AIR311
,AIR312
,AIR302
) (#18367,#18366,#18363,#18093)refurb
] Add coverage ofset
andfrozenset
calls (FURB171
) (#18035)refurb
] MarkFURB180
fix unsafe when class has bases (#18149)Bug fixes
perflint
] Fix missing parentheses for lambda and ternary conditions (PERF401
,PERF403
) (#18412)pyupgrade
] ApplyUP035
only on py313+ forget_type_hints()
(#18476)pyupgrade
] Make fix unsafe if it deletes comments (UP004
,UP050
) (#18393, #18390)Rule changes
fastapi
] Avoid false positive for class dependencies (FAST003
) (#18271)Documentation
Other changes
v0.11.12
Compare Source
Preview features
airflow
] Revise fix titles (AIR3
) (#18215)pylint
] Implementmissing-maxsplit-arg
(PLC0207
) (#17454)pyupgrade
] New ruleUP050
(useless-class-metaclass-type
) (#18334)flake8-use-pathlib
] Replaceos.symlink
withPath.symlink_to
(PTH211
) (#18337)Bug fixes
flake8-bugbear
] Ignore__debug__
attribute inB010
(#18357)flake8-async
] Fixanyio.sleep
argument name (ASYNC115
,ASYNC116
) (#18262)refurb
] FixFURB129
autofix generating invalid syntax (#18235)Rule changes
flake8-implicit-str-concat
] Add autofix forISC003
(#18256)pycodestyle
] Improve the diagnostic message forE712
(#18328)flake8-2020
] Fix diagnostic message for!=
comparisons (YTT201
) (#18293)pyupgrade
] Make fix unsafe if it deletes comments (UP010
) (#18291)Documentation
flake8-bugbear
] Add fix safety section (B006
) (#17652)v0.11.11
Compare Source
Preview features
airflow
] Add autofixes forAIR302
andAIR312
(#17942)airflow
] Move rules fromAIR312
toAIR302
(#17940)airflow
] UpdateAIR301
andAIR311
with the latest Airflow implementations (#17985)flake8-simplify
] Enable fix in preview mode (SIM117
) (#18208)Bug fixes
[]
and_
(#18147)pylint
] FixPLW1514
not recognizing theencoding
positional argument ofcodecs.open
(#18109)CLI
Documentation
flake8-print
] Improve print/pprint docs forT201
andT203
(#18130)flake8-simplify
] Add fix safety section (SIM110
,SIM210
) (#18114,#18100)pylint
] Fix docs example that produced different output (PLW0603
) (#18216)v0.11.10
Compare Source
Preview features
ruff
] Implement a recursive check forRUF060
(#17976)airflow
] Enable autofixes forAIR301
andAIR311
(#17941)airflow
] Apply try catch guard to allAIR3
rules (#17887)airflow
] ExtendAIR311
rules (#17913)Bug fixes
flake8-bugbear
] IgnoreB028
ifskip_file_prefixes
is present (#18047)flake8-pie
] Mark autofix forPIE804
as unsafe if the dictionary contains comments (#18046)flake8-simplify
] Correct behavior forstr.split
/rsplit
withmaxsplit=0
(SIM905
) (#18075)flake8-simplify
] FixSIM905
autofix forrsplit
creating a reversed list literal (#18045)flake8-use-pathlib
] Suppress diagnostics for allos.*
functions that have thedir_fd
parameter (PTH
) (#17968)refurb
] Mark autofix as safe only for number literals (FURB116
) (#17692)Rule changes
flake8-bandit
] SkipS608
for expressionless f-strings (#17999)flake8-pytest-style
] Don't recommendusefixtures
forparametrize
values (PT019
) (#17650)pyupgrade
] Addresource.error
as deprecated alias ofOSError
(UP024
) (#17933)CLI
Documentation
flake8-simplify
] Add fix safety section (SIM103
) (#18086)flake8-simplify
] Add fix safety section (SIM112
) (#18099)pylint
] Add fix safety section (PLC0414
) (#17802)pylint
] Add fix safety section (PLE4703
) (#17824)pylint
] Add fix safety section (PLW1514
) (#17932)pylint
] Add fix safety section (PLW3301
) (#17878)ruff
] Add fix safety section (RUF007
) (#17755)ruff
] Add fix safety section (RUF033
) (#17760)v0.11.9
Compare Source
Preview features
airflow
] FixSQLTableCheckOperator
typo (AIR302
) (#17946)airflow
] Removeairflow.utils.dag_parsing_context.get_parsing_context
(AIR301
) (#17852)airflow
] Skip attribute check in try catch block (AIR301
) (#17790)flake8-bandit
] Mark tuples of string literals as trusted input inS603
(#17801)isort
] Check full module path against project root(s) when categorizing first-party imports (#16565)ruff
] Add new rulein-empty-collection
(RUF060
) (#16480)Bug fixes
combine
call forlint.typing-extensions
setting (#17823)flake8-async
] Fix module name inASYNC110
,ASYNC115
, andASYNC116
fixes (#17774)pyupgrade
] Add spaces between tokens as necessary to avoid syntax errors inUP018
autofix (#17648)refurb
] Fix false positive for float and complex numbers inFURB116
(#17661)Documentation
PLC2801
,PLR1722
, andRUF013
(#17825, #17826, #17759)check-typed-exception
fromS110
andS112
(#17786)Other changes
ruff analyze graph
(#17743)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.