fix(deps): update rust crate ruff_python_parser to v0.12.12 - autoclosed #1301
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.12.4->0.12.12Release Notes
astral-sh/ruff (ruff_python_parser)
v0.12.12Compare Source
Release Notes
Preview features
airflow] ConvertDatasetOrTimeSchedule(datasets=...)toAssetOrTimeSchedule(assets=...)(AIR311) (#20202)airflow] Improve theAIR002error message (#20173)airflow] Moveairflow.operators.postgres_operator.MappingfromAIR302toAIR301(#20172)flake8-async] Implementblocking-inputrule (ASYNC250) (#20122)flake8-use-pathlib] MakePTH119andPTH120fixes unsafe because they can change behavior (#20118)pylint] Add U+061C toPLE2502(#20106)ruff] Fix false negative for empty f-strings indequecalls (RUF037) (#20109)Bug fixes
fastapi] Fix false positive for paths with spaces around parameters (FAST003) (#20077)flake8-comprehensions] SkipC417when lambda containsyield/yield from(#20201)perflint] Handle tuples in dictionary comprehensions (PERF403) (#19934)Rule changes
pycodestyle] Preserve return type annotation forParamSpec(E731) (#20108)Documentation
Contributors
Install ruff 0.12.12
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.12/ruff-installer.ps1 | iex"Download ruff 0.12.12
v0.12.11Compare Source
Release Notes
Preview features
airflow] ExtendAIR311andAIR312rules (#20082)airflow] Replace wrong pathairflow.io.storagewithairflow.io.store(AIR311) (#20081)flake8-async] Implementblocking-http-call-httpx-in-async-function(ASYNC212) (#20091)flake8-logging-format] Add auto-fix for f-string logging calls (G004) (#19303)flake8-use-pathlib] Add autofix forPTH211(#20009)flake8-use-pathlib] MakePTH100fix unsafe because it can change behavior (#20100)Bug fixes
pyflakes,pylint] Fix false positives caused by__class__cell handling (F841,PLE0117) (#20048)pyflakes] Fixallowed-unused-importsmatching for top-level modules (F401) (#20115)ruff] Fix false positive for t-strings indefault-factory-kwarg(RUF026) (#20032)ruff] Preserve relative whitespace in multi-line expressions (RUF033) (#19647)Rule changes
ruff] Handle empty t-strings inunnecessary-empty-iterable-within-deque-call(RUF037) (#20045)Documentation
D413links in docstrings convention FAQ (#20089)flake8-use-pathlib] Update links to the table showing the correspondence betweenosandpathlib(#20103)Contributors
Install ruff 0.12.11
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.11/ruff-installer.ps1 | iex"Download ruff 0.12.11
v0.12.10Compare Source
Release Notes
Preview features
flake8-simplify] Implement fix formaxsplitwithout separator (SIM905) (#19851)flake8-use-pathlib] Add fixes forPTH102andPTH103(#19514)Bug fixes
isort] Handle multiple continuation lines after module docstring (I002) (#19818)pyupgrade] Avoid reporting__future__features as unnecessary when they are used (UP010) (#19769)pyupgrade] Handle nestedOptionals (UP045) (#19770)Rule changes
pycodestyle] MakeE731fix unsafe instead of display-only for class assignments (#19700)pyflakes] Add secondary annotation showing previous definition (F811) (#19900)Documentation
flake8-annotations] Remove unused import in example (ANN401) (#20000)Contributors
Install ruff 0.12.10
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-installer.ps1 | iex"Download ruff 0.12.10
v0.12.9Compare Source
Release Notes
Preview features
airflow] Add check forairflow.secrets.cache.SecretCache(AIR301) (#17707)ruff] Offer a safe fix for multi-digit zeros (RUF064) (#19847)Bug fixes
flake8-blind-except] FixBLE001false-positive onraise ... from None(#19755)flake8-comprehensions] Fix false positive forC420with attribute, subscript, or slice assignment targets (#19513)flake8-simplify] Fix handling of U+001C..U+001F whitespace (SIM905) (#19849)Rule changes
pylint] Use lowercase hex characters to match the formatter (PLE2513) (#19808)Documentation
lint.future-annotationslink (#19876)Other changes
Build
riscv64binaries for release (#19819)Add rule code to error description in GitLab output (#19896)
Improve rendering of the
fulloutput format (#19415)Below is an example diff for
F401:For now, the primary difference is the movement of the filename, line number, and column information to a second line in the header. This new representation will allow us to make further additions to Ruff's diagnostics, such as adding sub-diagnostics and multiple annotations to the same snippet.
Contributors
Install ruff 0.12.9
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.9/ruff-installer.ps1 | iex"Download ruff 0.12.9
v0.12.8Compare Source
Release Notes
Preview features
flake8-use-pathlib] ExpandPTH201to check allPurePathsubclasses (#19440)Bug fixes
flake8-blind-except] ChangeBLE001to correctly parse exception tuples (#19747)flake8-errmsg] Excludetyping.castfromEM101(#19656)flake8-simplify] Fix raw string handling inSIM905for embedded quotes (#19591)flake8-import-conventions] Avoid false positives for NFKC-normalized__debug__import aliases inICN001(#19411)isort] Fix syntax error after docstring ending with backslash (I002) (#19505)pylint] MarkPLC0207fixes as unsafe when*argsunpacking is present (#19679)pyupgrade] Prevent infinite loop withI002(UP010,UP035) (#19413)ruff] Parenthesize generator expressions in f-strings (RUF010) (#19434)Rule changes
eradicate] Don't flagpyreflypragmas as unused code (ERA001) (#19731)Documentation
RUF036(#19706)typingdocumentation (#19648)refurb] Make more examples error out-of-the-box (#19695,#19673,#19672)Other changes
ruffid (#19654)Contributors
Install ruff 0.12.8
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.8/ruff-installer.ps1 | iex"Download ruff 0.12.8
v0.12.7Compare Source
Release Notes
This is a follow-up release to 0.12.6. Because of an issue in the package metadata, 0.12.6 failed to publish fully to PyPI and has been yanked. Similarly, there is no GitHub release or Git tag for 0.12.6. The contents of the 0.12.7 release are identical to 0.12.6, except for the updated metadata.
0.12.6 Release Notes
Preview features
flake8-commas] Add support for trailing comma checks in type parameter lists (COM812,COM819) (#19390)pylint] Implement auto-fix formissing-maxsplit-arg(PLC0207) (#19387)ruff] Offer fixes forRUF039in more cases (#19065)Bug fixes
.pyifiles in ruff analyze graph (#19611)flake8-pyi] Preserve inline comment in ellipsis removal (PYI013) (#19399)perflint] Ignore rule if target isglobalornonlocal(PERF401) (#19539)pyupgrade] FixUP030to avoid modifying double curly braces in format strings (#19378)refurb] Ignore decorated functions forFURB118(#19339)refurb] Markintandboolcases forDecimal.from_floatas safe fixes (FURB164) (#19468)ruff] FixRUF033for named default expressions (#19115)Rule changes
flake8-blind-except] ChangeBLE001to permitlogging.critical(..., exc_info=True)(#19520)Performance
Contributors
Install ruff 0.12.7
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.7/ruff-installer.ps1 | iex"