Build(deps-dev): bump ruff from 0.4.1 to 0.4.2
Bumps ruff from 0.4.1 to 0.4.2.
Release notes
Sourced from ruff's releases.
v0.4.2
Changes
Rule changes
- [
flake8-pyi
] Allow for overloaded__exit__
and__aexit__
definitions (PYI036
) (#11057)- [
pyupgrade
] Catch usages of"%s" % var
and provide an unsafe fix (UP031
) (#11019)- [
refurb
] Implement new rule that suggests min/max oversorted()
(FURB192
) (#10868)Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqa
codes (#11096)- Introduce common Ruff configuration options with new server settings (#11062)
Bug fixes
- Use
macos-12
for building release wheels to enable macOS 11 compatibility (#11146)- [
flake8-blind-expect
] Allow raise from inBLE001
(#11131)- [
flake8-pyi
] Allow simple assignments toNone
in enum class scopes (PYI026
) (#11128)- [
flake8-simplify
] Avoid raisingSIM911
for non-zip
attribute calls (#11126)- [
refurb
] Avoidoperator.itemgetter
suggestion for single-item tuple (#11095)- [
ruff
] Respect per-file-ignores forRUF100
with no other diagnostics (#11058)- [
ruff
] Fix async comprehension false positive (RUF029
) (#11070)Documentation
- [
flake8-bugbear
] Document explicitly disabling strict zip (B905
) (#11040)- [
flake8-type-checking
] Mentionlint.typing-modules
inTCH001
,TCH002
, andTCH003
(#11144)- [
isort
] Improve documentation around customisort
sections (#11050)- [
pylint
] Fix documentation oversight forinvalid-X-returns
(#11094)Performance
- Use
matchit
to resolve per-file settings (#11111)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.2
Rule changes
- [
flake8-pyi
] Allow for overloaded__exit__
and__aexit__
definitions (PYI036
) (#11057)- [
pyupgrade
] Catch usages of"%s" % var
and provide an unsafe fix (UP031
) (#11019)- [
refurb
] Implement new rule that suggests min/max oversorted()
(FURB192
) (#10868)Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqa
codes (#11096)- Introduce common Ruff configuration options with new server settings (#11062)
Bug fixes
- Use
macos-12
for building release wheels to enable macOS 11 compatibility (#11146)- [
flake8-blind-expect
] Allow raise from inBLE001
(#11131)- [
flake8-pyi
] Allow simple assignments toNone
in enum class scopes (PYI026
) (#11128)- [
flake8-simplify
] Avoid raisingSIM911
for non-zip
attribute calls (#11126)- [
refurb
] Avoidoperator.itemgetter
suggestion for single-item tuple (#11095)- [
ruff
] Respect per-file-ignores forRUF100
with no other diagnostics (#11058)- [
ruff
] Fix async comprehension false positive (RUF029
) (#11070)Documentation
- [
flake8-bugbear
] Document explicitly disabling strict zip (B905
) (#11040)- [
flake8-type-checking
] Mentionlint.typing-modules
inTCH001
,TCH002
, andTCH003
(#11144)- [
isort
] Improve documentation around customisort
sections (#11050)- [
pylint
] Fix documentation oversight forinvalid-X-returns
(#11094)Performance
- Use
matchit
to resolve per-file settings (#11111)
Commits
-
77c93fd
Bump version to 0.4.2 (#11151) -
1c9f5e3
Display the AST even with syntax errors (#11147) -
263a0d2
Usemacos-12
to build release wheels (#11146) -
4738e19
Remove unused lexical error types (#11145) -
f428bd5
Docs: mentionlint.typing-modules
inTCH001
,TCH002
,TCH003
(#11144) -
4690890
ruff server
: In 'publish diagnostics' mode, document diagnostics are cleare... -
19baabb
README: add Apache Superset to project list (#11136) -
cee38f3
[flake8-blind-expect
] Allow raise from inBLE001
(#11131) -
e3fde28
[flake8-pyi
] Allow overloaded__exit__
and__aexit__
definitions (`PYI0... -
1c8849f
Use Matchit to Resolve Per-File Settings (#11111) - Additional commits viewable in compare view