chore(deps): update dependency lint/ruff to v0.1.9 #150
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.1.7
->==0.1.9
Release Notes
astral-sh/ruff (lint/ruff)
v0.1.9
Compare Source
Breaking changes
Preview features
pylint
] Implementtoo-many-locals
(PLR0914
) (#9163)reimplemented_operator
(FURB118) (#9171)no_blank_line_before_class_docstring
preview style (#9154)Rule changes
CONSTANT_CASE
variables are improperly flagged for yoda violation (SIM300
) (#9164)flake8-pyi
] Cover ParamSpecs and TypeVarTuples (PYI018
) (#9198)flake8-bugbear
] Add fix forzip-without-explicit-strict
(B905
) (#9176)print
andpprint
statements (T201
,T203
) (#9208)Never
toNoReturn
in auto-typing in Python >= 3.11 (ANN201
) (#9213)Formatter
can_omit_optional_parentheses
: Exit early for unparenthesized expressions (#9125)dynamic
mode with doctests so that it doesn't exceed configured line width (#9129)can_omit_optional_parentheses
for expressions with a right most fstring (#9124)target_version
to formatter options (#9220)CLI
ruff format --check
to display message for already formatted files (#9153)Bug fixes
operator.contains
(#9192)D208
with multibyte indent (#9147)NoReturn
in auto-return-typing (#9206)typing
fromexempt-modules
(#9214)mutable-class-default
violations for Pydantic subclasses (#9187)PYI055
autofix (#9161)asyncio-dangling-task
violations on shadowed bindings (#9215)Documentation
v0.1.8
Compare Source
This release includes opt-in support for formatting Python snippets within
docstrings via the
docstring-code-format
setting.Check out the blog post for more details!
Preview features
"preserve"
quote-style to mimic Black's skip-string-normalization (#8822)prefer_splitting_right_hand_side_of_assignments
preview style (#8943)pycodestyle
] Add fix forunexpected-spaces-around-keyword-parameter-equals
(#9072)pycodestyle
] Add fix for comment-related whitespace rules (#9075)pycodestyle
] Allowsys.path
modifications between imports (#9047)refurb
] Implementhashlib-digest-hex
(FURB181
) (#9077)Rule changes
flake8-type-checking
rules to automatically quote runtime-evaluated references (#6001)flake8-annotations
] AvoidANN2xx
fixes for abstract methods with empty bodies (#9034)flake8-self
] Ignore underscore references in type annotations (#9036)pep8-naming
] Allow class names whenapps.get_model
is a non-string (#9065)pycodestyle
] Allowmatplotlib.use
calls to intersperse imports (#9094)pyflakes
] Support fixing unused assignments in tuples by renaming variables (F841
) (#9107)pylint
] Add fix forsubprocess-run-without-check
(PLW1510
) (#6708)Formatter
docstring-code-format
knob to enable docstring snippet formatting (#8854)CLI
--output-format
(#9078)Bug fixes
flake8-err-msg
] AllowEM
fixes even ifmsg
variable is defined (#9059)flake8-pie
] Prevent keyword arguments duplication (#8450)flake8-pie
] Respect trailing comma inunnecessary-dict-kwargs
(PIE804
) (#9015)flake8-raise
] Avoid removing parentheses on ctypes.WinError (#9027)isort
] Avoid invalid combination offorce-sort-within-types
andlines-between-types
(#9041)isort
] Ensure that from-style imports are always ordered first in__future__
(#9039)pycodestyle
] Allow tab indentation before keyword (#9099)pylint
] Ignore@overrides
and@overloads
fortoo-many-positional
(#9000)pyupgrade
] Enableprintf-string-formatting
fix with comments on right-hand side (#9037)refurb
] Makemath-constant
(FURB152
) rule more targeted (#9054)refurb
] Support floating-point base inredundant-log-base
(FURB163
) (#9100)ruff
] Detectunused-asyncio-dangling-task
(RUF006
) on unused assignments (#9060)Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC.
🚦 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 Mend Renovate. View repository job log here.