chore(deps): update dependency ruff to v0.11.9 #51
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/ruff-0.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.11.1->0.11.9Release Notes
astral-sh/ruff (ruff)
v0.11.9Compare Source
Preview features
airflow] FixSQLTableCheckOperatortypo (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
combinecall forlint.typing-extensionssetting (#17823)flake8-async] Fix module name inASYNC110,ASYNC115, andASYNC116fixes (#17774)pyupgrade] Add spaces between tokens as necessary to avoid syntax errors inUP018autofix (#17648)refurb] Fix false positive for float and complex numbers inFURB116(#17661)Documentation
PLC2801,PLR1722, andRUF013(#17825, #17826, #17759)check-typed-exceptionfromS110andS112(#17786)Other changes
ruff analyze graph(#17743)v0.11.8Compare Source
Preview features
airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302,AIR311) (#17553, #17570, #17571)airflow] ExtendAIR301rule (#17598)airflow] Update existingAIR302rules with better suggestions (#17542)refurb] Mark fix as safe forreadlines-in-for(FURB129) (#17644)nonlocaldeclaration at module level (#17559)x = *y(#17624)Bug fixes
flake8-pyi] EnsureLiteral[None,] | Literal[None,]is not autofixed toNone | None(PYI061) (#17659)flake8-use-pathlib] Avoid suggestingPath.iterdir()foros.listdirwith file descriptor (PTH208) (#17715)flake8-use-pathlib] FixPTH104false positive whenrenameis passed a file descriptor (#17712)flake8-use-pathlib] FixPTH116false positive whenstatis passed a file descriptor (#17709)flake8-use-pathlib] FixPTH123false positive whenopenis passed a file descriptor from a function call (#17705)pycodestyle] Fix duplicated diagnostic inE712(#17651)pylint] Detectglobaldeclarations in module scope (PLE0118) (#17411)async-comprehension-in-sync-comprehensionmore specific (#17460)Configuration
typing_extensionsimports (#17611)Documentation
lint.pydocstyle.ignore-var-parametersoption (#17740)ASYNC116,FLY002,D200,RUF005,RUF017,RUF027,RUF028,RUF057) (#17497, #17496, #17502, #17484, #17480, #17485, #17722, #17483)Other changes
v0.11.7Compare Source
Preview features
airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR301) (#17355)perflint] Implement fix formanual-dict-comprehension(PERF403) (#16719)Bug fixes
airflow] Fix typos in provider package names (AIR302,AIR312) (#17574)flake8-type-checking] Visit keyword arguments in checks involvingtyping.cast/typing.NewTypearguments (#17538)pyupgrade] Preserve parenthesis when fixing native literals containing newlines (UP018) (#17220)refurb] Mark theFURB161fix unsafe except for integers and booleans (#17240)Rule changes
perflint] Allow list function calls to be replaced with a comprehension (PERF401) (#17519)pycodestyle] Auto-fix redundant boolean comparison (E712) (#17090)pylint] make fix unsafe if delete comments (PLR1730) (#17459)Documentation
v0.11.6Compare Source
Preview features
airflow] ExtractAIR311fromAIR301rules (AIR301,AIR311) (#17310, #17422)Bug fixes
\is at end of file (#17409)v0.11.5Compare Source
Preview features
airflow] Add missingAIR302attribute check (#17115)airflow] Expand module path check to individual symbols (AIR302) (#17278)airflow] ExtractAIR312fromAIR302rules (AIR302,AIR312) (#17152)airflow] Update oudatedAIR301,AIR302rules (#17123)await(#17282)Bug fixes
flake8-pie] Avoid false positive for multiple assignment withauto()(PIE796) (#17274)Rule changes
ruff] FixRUF100to detect unused file-levelnoqadirectives with specific codes (#17042) (#17061)flake8-pytest-style] Avoid false positive for legacy form ofpytest.raises(PT011) (#17231)Documentation
v0.11.4Compare Source
Preview features
ruff] Implementinvalid-rule-codeasRUF102(#17138)matchmapping patterns (#17129)matchclass patterns (#17186)Bug fixes
matchpatterns (#17184)typing.Annotatedsubscripts (#17201)v0.11.3Compare Source
Preview features
airflow] Add more autofixes forAIR302(#16876, #16977, #16976, #16965)airflow] MoveAIR301toAIR002(#16978)airflow] MoveAIR302toAIR301andAIR303toAIR302(#17151)flake8-bandit] Markstrandlist[str]literals as trusted input (S603) (#17136)ruff] Support slices inRUF005(#17078)casepattern before final case (#16905)casepattern (#16957)return,yield, andfor(#17134)__debug__(#16984)Bug fixes
panic!when running Ruff from a deleted directory (#16903) (#17054)CLI
pyproject.tomlcorrectly when it is passed via stdin (#16971)Configuration
flake8-import-conventions] Add importnumpy.typing as nptto defaultflake8-import-conventions.aliases(#17133)Documentation
refurb] Document whyUserDict,UserList, andUserStringare preferred overdict,list, andstr(FURB189) (#16927)v0.11.2Compare Source
Preview features
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 has been generated by Renovate Bot.
cf44043fb0toac6831ff1dchore(deps): update dependency ruff to v0.11.6to chore(deps): update dependency ruff to v0.11.7ac6831ff1dtob72594bb1cchore(deps): update dependency ruff to v0.11.7to chore(deps): update dependency ruff to v0.11.8b72594bb1cto0a6c102ee7chore(deps): update dependency ruff to v0.11.8to chore(deps): update dependency ruff to v0.11.9