Bump ruff from 0.3.3 to 0.3.4
Bumps ruff from 0.3.3 to 0.3.4.
Changelog
Sourced from ruff's changelog.
0.3.4
Preview features
- [
flake8-simplify
] Detect implicitelse
cases inneedless-bool
(SIM103
) (#10414)- [
pylint
] Implementnan-comparison
(PLW0117
) (#10401)- [
pylint
] Implementnonlocal-and-global
(E115
) (#10407)- [
pylint
] Implementsingledispatchmethod-function
(PLE5120
) (#10428)- [
refurb
] Implementlist-reverse-copy
(FURB187
) (#10212)Rule changes
- [
flake8-pytest-style
] Add automatic fix forpytest-parametrize-values-wrong-type
(PT007
) (#10461)- [
pycodestyle
] Allow SPDX license headers to exceed the line length (E501
) (#10481)Formatter
- Fix unstable formatting for trailing subscript end-of-line comment (#10492)
Bug fixes
- Avoid code comment detection in PEP 723 script tags (#10464)
- Avoid incorrect tuple transformation in single-element case (
C409
) (#10491)- Bug fix: Prevent fully defined links
name
from being reformatted (#10442)- Consider raw source code for
W605
(#10480)- Docs: Link inline settings when not part of options section (#10499)
- Don't treat annotations as redefinitions in
.pyi
files (#10512)- Fix
E231
bug: Inconsistent catch compared to pycodestyle, such as when dict nested in list (#10469)- Fix pylint upstream categories not showing in docs (#10441)
- Add missing
Options
references to blank line docs (#10498)- 'Revert "F821: Fix false negatives in .py files when
from __future__ import annotations
is active (#10362)"' (#10513)- Apply NFKC normalization to unicode identifiers in the lexer (#10412)
- Avoid failures due to non-deterministic binding ordering (#10478)
- [
flake8-bugbear
] Allow tuples of exceptions (B030
) (#10437)- [
flake8-quotes
] Avoid syntax errors due to invalid quotes (Q000, Q002
) (#10199)
Commits
-
5062572
Bump version to v0.3.4 (#10515) -
dc6f639
Renamelist-reassign-reversed
tolist-reverse-copy
(#10514) -
01fe268
[refurb
] Implementlist_assign_reversed
lint (FURB187) (#10212) -
c62184d
'Revert "F821: Fix false negatives in .py files when `from future import ... -
9b3c732
Docs: Link inline settings when not part of options section (#10499) -
caa1450
Don't treat annotations as redefinitions in.pyi
files (#10512) -
60fd98e
Update Rust to v1.77 (#10510) -
ac150b9
Spruce up docs for flake8-pyi rules (part 2) (#10494) -
d9ac170
FixE231
bug: Inconsistent catch compared to pycodestyle, such as when dict... -
c5ea420
chore: remove repetitive words (#10502) - Additional commits viewable in compare view