Bump ruff from 0.3.5 to 0.3.7
Bumps ruff from 0.3.5 to 0.3.7.
Release notes
Sourced from ruff's releases.
v0.3.7
Changes
Preview features
- [
flake8-bugbear
] Implementloop-iterator-mutation
(B909
) (#9578)- [
pylint
] Implement rule to prefer augmented assignment (PLR6104
) (#9932)Bug fixes
- Avoid TOCTOU errors in cache initialization (#10884)
- [
pylint
] Recodenan-comparison
rule toW0177
(#10894)- [
pylint
] Reverse min-max logic inif-stmt-min-max
(#10890)Contributors
v0.3.6
Changes
Preview features
- [
pylint
] Implementbad-staticmethod-argument
(PLW0211
) (#10781)- [
pylint
] Implementif-stmt-min-max
(PLR1730
,PLR1731
) (#10002)- [
pyupgrade
] Replacestr,Enum
multiple inheritance withStrEnum
UP042
(#10713)- [
refurb
] Implementif-expr-instead-of-or-operator
(FURB110
) (#10687)- [
refurb
] Implementint-on-sliced-str
(FURB166
) (#10650)- [
refurb
] Implementwrite-whole-file
(FURB103
) (#10802)- [
refurb
] Supportitemgetter
inreimplemented-operator
(FURB118
) (#10526)- [
flake8_comprehensions
] Addsum
/min
/max
to unnecessary comprehension check (C419
) (#10759)Rule changes
- [
pydocstyle
] Require capitalizing docstrings where the first sentence is a single word (D403
) (#10776)- [
pycodestyle
] Ignore annotated lambdas in class scopes (E731
) (#10720)- [
flake8-pyi
] Various improvements to PYI034 (#10807)- [
flake8-slots
] Flag subclasses of call-basedtyping.NamedTuple
s as well as subclasses ofcollections.namedtuple()
(SLOT002
) (#10808)- [
pyflakes
] Allow forward references in class bases in stub files (F821
) (#10779)- [
pygrep-hooks
] Improveblanket-noqa
error message (PGH004
) (#10851)CLI
- Support
FORCE_COLOR
env var (#10839)Configuration
- Support negated patterns in
[extend-]per-file-ignores
(#10852)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.3.7
Preview features
- [
flake8-bugbear
] Implementloop-iterator-mutation
(B909
) (#9578)- [
pylint
] Implement rule to prefer augmented assignment (PLR6104
) (#9932)Bug fixes
- Avoid TOCTOU errors in cache initialization (#10884)
- [
pylint
] Recodenan-comparison
rule toW0177
(#10894)- [
pylint
] Reverse min-max logic inif-stmt-min-max
(#10890)0.3.6
Preview features
- [
pylint
] Implementbad-staticmethod-argument
(PLW0211
) (#10781)- [
pylint
] Implementif-stmt-min-max
(PLR1730
,PLR1731
) (#10002)- [
pyupgrade
] Replacestr,Enum
multiple inheritance withStrEnum
UP042
(#10713)- [
refurb
] Implementif-expr-instead-of-or-operator
(FURB110
) (#10687)- [
refurb
] Implementint-on-sliced-str
(FURB166
) (#10650)- [
refurb
] Implementwrite-whole-file
(FURB103
) (#10802)- [
refurb
] Supportitemgetter
inreimplemented-operator
(FURB118
) (#10526)- [
flake8_comprehensions
] Addsum
/min
/max
to unnecessary comprehension check (C419
) (#10759)Rule changes
- [
pydocstyle
] Require capitalizing docstrings where the first sentence is a single word (D403
) (#10776)- [
pycodestyle
] Ignore annotated lambdas in class scopes (E731
) (#10720)- [
flake8-pyi
] Various improvements to PYI034 (#10807)- [
flake8-slots
] Flag subclasses of call-basedtyping.NamedTuple
s as well as subclasses ofcollections.namedtuple()
(SLOT002
) (#10808)- [
pyflakes
] Allow forward references in class bases in stub files (F821
) (#10779)- [
pygrep-hooks
] Improveblanket-noqa
error message (PGH004
) (#10851)CLI
- Support
FORCE_COLOR
env var (#10839)Configuration
- Support negated patterns in
[extend-]per-file-ignores
(#10852)Bug fixes
- [
flake8-import-conventions
] Accept non-aliased (but correct) import inunconventional-import-alias
(ICN001
) (#10729)- [
flake8-quotes
] Add semantic model flag when inside f-string replacement field (#10766)- [
pep8-naming
] Recursively resolveTypeDicts
for N815 violations (#10719)- [
flake8-quotes
] RespectQ00*
ignores inflake8-quotes
rules (#10728)- [
flake8-simplify
] Show negated condition inneedless-bool
diagnostics (SIM103
) (#10854)
... (truncated)
Commits
-
2e37cf6
Bump version to v0.3.7 (#10895) -
a9e4393
[pylint
] Implement rule to prefer augmented assignment (PLR6104
) (#9932) -
312f434
[pylint
] Recodenan-comparison
rule toW0177
(#10894) -
563daa8
Fix docs and add overlap test for negated per-file-ignores (#10863) -
7ae15c6
Fix comment copy/paste typo in newtype_index (#10892) -
03899dc
[flake8-bugbear
] Implementloop-iterator-mutation
(B909
) (#9578) -
25f5a8b
Struct not tuple for compiled per-file ignores (#10864) -
e7d1d43
[pylint
] Reverse min-max logic inif-stmt-min-max
(#10890) -
9b9098c
Downgrade ESLint to v8 (#10888) -
0cc154c
Avoid TOCTOU errors in cache initialization (#10884) - Additional commits viewable in compare view