[pydocstyle] Suppress D417 for parameters with Unpack annotations by phongddo · Pull Request #21816 · astral-sh/ruff (original) (raw)
nicopauss pushed a commit to Intersec/lib-common that referenced this pull request
Note this update introcudes the new warning ISC004, which requires some fixes in our code.
Released on 2026-01-22.
Preserve required parentheses in lambda bodies (#22747)
Combine range suppression code diagnostics (#22613)
[
airflow] Second positional argument toAsset/Datasetshould not be a dictionary (AIR303) (#22453)[
ruff] Detect duplicate entries in__all__(RUF068) (#22114)[
pyupgrade] Allow shadowing non-builtin bindings (UP029) (#22749)[
pyupgrade] ApplyUP045to string arguments oftyping.cast(#22320)[
flake8-pie] Detect duplicated declared class fields inPIE794(#22717)[
flake8-pyi] Fix inconsistent handling of forward references for__new__,__enter__,__aenter__inPYI034(#22798)[
flake8-pytest-style] Supportcheckparameter inPT011(#22725)[
ruff] Add exception forctypes.Structure._fields_(RUF012) (#22559)Many fixes are now marked unsafe if they would remove comments:
Add
--exit-non-zero-on-formatto formatter exit codes section (#22761)Update contributing guide for adding a new rule (#22779)
[
FastAPI] Document fix safety forFAST001(#22655)[
flake8-async] Tweak explanation to focus on latency/efficiency tradeoff (ASYNC110) (#22715)[
pandas-vet] Make example error out-of-the-box (PD002) (#22561)[
refurb] Make the example work out of box (FURB101) (#22770)[
refurb] Make the example work out of box (FURB103) (#22769)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.14/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.14/ruff-installer.ps1 | iex"Released on 2026-01-15.
This is a follow-up release to 0.14.12. Because of an issue publishing the WASM packages, there is no GitHub release or Git tag for 0.14.12, although the package was published to PyPI. The contents of the 0.14.13 release are identical to 0.14.12.
[
flake8-blind-except] Allow more logging methods (BLE001) (#22057)[
ruff] Respectlint.pydocstyle.property-decoratorsinRUF066(#22515)Fix configuration path in
--show-settings(#22478)Respect
fmt: skipfor multiple statements on the same logical line (#22119)[
pydocstyle] Update Rust crate imperative to v1.0.7 (D401) (#22519)[
isort] Insert imports in alphabetical order (I002) (#22493)Add llms.txt support for documentation (#22463)
Use prek in documentation and CI (#22505)
[
flake8-pytest-style] Addcheckparameter example toPT017docs (#22546)[
ruff] Make example error out-of-the-box (RUF103) (#22558)[
ruff] documentRUF100trailing comment fix behavior (#22479)wasm: Require explicit logging initialization (#22587)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.13/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.13/ruff-installer.ps1 | iex"Released on 2026-01-08.
Consolidate diagnostics for matched disable/enable suppression comments (#22099)
Report diagnostics for invalid/unmatched range suppression comments (#21908)
[
airflow] Passing positional argument intoairflow.lineage.hook.HookLineageCollector.create_assetis not allowed (AIR303) (#22046)[
refurb] MarkFURB192fix as always unsafe (#22210)[
ruff] Addnon-empty-init-module(RUF067) (#22143)Fix GitHub format for multi-line diagnostics (#22108)
[
flake8-unused-arguments] Mark**kwargsinTypeVaras used (ARG001) (#22214)Add
help:subdiagnostics for several Ruff rules that can sometimes appear to disagree withty(#22331)[
pylint] DemotePLW1510fix to display-only (#22318)[
pylint] Ignore identical members (PLR1714) (#22220)[
pylint] Improve diagnostic range forPLC0206(#22312)[
ruff] Improve fix title forRUF102invalid rule code (#22100)[
flake8-simplify]: Avoid unnecessary builtins import forSIM105(#22358)Allow Python 3.15 as valid
target-versionvalue in preview (#22419)Check
required-versionbefore parsing rules (#22410)Include configured
srcdirectories when resolving graphs (#22451)Update
T201suggestion to not use root logger to satisfyLOG015(#22059)Fix
iterexample in unsafe fixes doc (#22118)[
flake8_print] better suggestion forbasicConfiginT201docs (#22101)[
pylint] Restore the fix safety docs forPLW0133(#22211)Fix Jupyter notebook discovery info for editors (#22447)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.11/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.11/ruff-installer.ps1 | iex"Released on 2025-12-18.
[formatter] Fluent formatting of method chains (#21369)
[formatter] Keep lambda parameters on one line and parenthesize the body if it expands (#21385)
[
flake8-implicit-str-concat] New rule to prevent implicit string concatenation in collections (ISC004) (#21972)[
flake8-use-pathlib] Make fixes unsafe when types change in compound statements (PTH104,PTH105,PTH109,PTH115) (#22009)[
refurb] Extend support forPath.open(FURB101,FURB103) (#21080)[
pyupgrade] Fix parsing named Unicode escape sequences (UP032) (#21901)[
eradicate] Ignoreruff:disableandruff:enablecomments inERA001(#22038)[
flake8-pytest-style] Allowmatchandcheckkeyword arguments without an expected exception type (PT010) (#21964)[syntax-errors] Annotated name cannot be global (#20868)
Add
uvandtyto the Ruff README (#21996)Document known lambda formatting deviations from Black (#21954)
Update
setup.md(#22024)[
flake8-bandit] Fix broken link (S704) (#22039)Fix playground Share button showing "Copied!" before clipboard copy completes (#21942)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.10/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.10/ruff-installer.ps1 | iex"Released on 2025-12-11.
[
ruff] NewRUF100diagnostics for unused range suppressions (#21783)[
pylint] Detect subclasses of builtin exceptions (PLW0133) (#21382)Fix comment placement in lambda parameters (#21868)
Skip over trivia tokens after re-lexing (#21895)
[
flake8-bandit] Fix false positive when using non-standardCSafeLoaderpath (S506). (#21830)[
flake8-bugbear] Accept immutable slice default arguments (B008) (#21823)[
pydocstyle] SuppressD417for parameters withUnpackannotations (#21816)Use
memchrfor computing line indexes (#21838)Document
*.pywis included by default in preview (#21885)Document range suppressions, reorganize suppression docs (#21884)
Update mkdocs-material to 9.7.0 (Insiders now free) (#21797)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.9/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.9/ruff-installer.ps1 | iex"Released on 2025-12-04.
[
flake8-bugbear] Catchyieldexpressions within other statements (B901) (#21200)[
flake8-use-pathlib] Mark fixes unsafe for return type changes (PTH104,PTH105,PTH109,PTH115) (#21440)Fix syntax error false positives for
awaitoutside functions (#21763)[
flake8-simplify] Fix truthiness assumption for non-iterable arguments in tuple/list/set calls (SIM222,SIM223) (#21479)Suggest using
--output-fileoption in GitLab integration (#21706)[syntax-error] Default type parameter followed by non-default type parameter (#21657)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.8/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.8/ruff-installer.ps1 | iex"Released on 2025-11-28.
[
flake8-bandit] Handle string literal bindings in suspicious-url-open-usage (S310) (#21469)[
pylint] FixPLR1708false positives on nested functions (#21177)[
pylint] Fix suppression for empty dict without tuple key annotation (PLE1141) (#21290)[
ruff] Add ruleRUF066to detect unnecessary class properties (#21535)[
ruff] Catch more dummy variable uses (RUF052) (#19799)[server] Set severity for non-rule diagnostics (#21559)
[
flake8-implicit-str-concat] Avoid invalid fix in (ISC003) (#21517)[
parser] Fix panic when parsing IPython escape command expressions (#21480)Show partial fixability indicator in statistics output (#21513)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.7/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.7/ruff-installer.ps1 | iex"Released on 2025-11-21.
[
flake8-bandit] Support new PySNMP API paths (S508,S509) (#21374)Adjust own-line comment placement between branches (#21185)
Avoid syntax error when formatting attribute expressions with outer parentheses, parenthesized value, and trailing comment on value (#20418)
Fix panic when formatting comments in unary expressions (#21501)
Respect
fmt: skipfor compound statements on a single line (#20633)[
refurb] FixFURB103autofix (#21454)[
ruff] Fix false positive for complex conversion specifiers inlogging-eager-conversion(RUF065) (#21464)[
ruff] Avoid false positive onClassVarreassignment (RUF012) (#21478)Render hyperlinks for lint errors (#21514)
Add a
ruff analyzeoption to skip over imports inTYPE_CHECKINGblocks (#21472)Limit
eglot-formathook to eglot-managed Python buffers (#21459)Mention
force-excludein "Configuration > Python file discovery" (#21500)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.6/ruff-installer.sh | shpowershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.6/ruff-installer.ps1 | iex"| File | Platform | Checksum |
|---|---|---|
| ruff-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| ruff-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| ruff-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| ruff-i686-pc-windows-msvc.zip | x86 Windows | [checksum](https://github.com/astral-sh/ruff/releases/download/0.14.6/ru… |