Bump ruff from 0.5.0 to 0.5.1
Bumps ruff from 0.5.0 to 0.5.1.
Release notes
Sourced from ruff's releases.
0.5.1
Release Notes
Preview features
- [
flake8-bugbear
] Implement mutable-contextvar-default (B039) (#12113)- [
pycodestyle
] Whitespace after decorator (E204
) (#12140)- [
pytest
] ReversePT001
andPT0023
defaults (#12106)Rule changes
- Enable token-based rules on source with syntax errors (#11950)
- [
flake8-bandit
] Detecthttpx
forS113
(#12174)- [
numpy
] UpdateNPY201
to include exception deprecations (#12065)- [
pylint
] Generate autofix forduplicate-bases
(PLE0241
) (#12105)Server
- Avoid syntax error notification for source code actions (#12148)
- Consider the content of the new cells during notebook sync (#12203)
- Fix replacement edit range computation (#12171)
Bug fixes
- Disable auto-fix when source has syntax errors (#12134)
- Fix cache key collisions for paths with separators (#12159)
- Make
requires-python
inference robust to==
(#12091)- Use char-wise width instead of
str
-width (#12135)- [
pycodestyle
] AvoidE275
if keyword followed by comma (#12136)- [
pycodestyle
] AvoidE275
if keyword is followed by a semicolon (#12095)- [
pylint
] Skip dummy variables forPLR1704
(#12190)Performance
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.5.1
Preview features
- [
flake8-bugbear
] Implement mutable-contextvar-default (B039) (#12113)- [
pycodestyle
] Whitespace after decorator (E204
) (#12140)- [
pytest
] ReversePT001
andPT0023
defaults (#12106)Rule changes
- Enable token-based rules on source with syntax errors (#11950)
- [
flake8-bandit
] Detecthttpx
forS113
(#12174)- [
numpy
] UpdateNPY201
to include exception deprecations (#12065)- [
pylint
] Generate autofix forduplicate-bases
(PLE0241
) (#12105)Server
- Avoid syntax error notification for source code actions (#12148)
- Consider the content of the new cells during notebook sync (#12203)
- Fix replacement edit range computation (#12171)
Bug fixes
- Disable auto-fix when source has syntax errors (#12134)
- Fix cache key collisions for paths with separators (#12159)
- Make
requires-python
inference robust to==
(#12091)- Use char-wise width instead of
str
-width (#12135)- [
pycodestyle
] AvoidE275
if keyword followed by comma (#12136)- [
pycodestyle
] AvoidE275
if keyword is followed by a semicolon (#12095)- [
pylint
] Skip dummy variables forPLR1704
(#12190)Performance
Commits
-
3a72400
Rename publish workflow file extension (yaml
->yml
) (#12206) -
1b3bff0
Bump version to 0.5.1 (#12205) -
0f6f73e
[red-knot] Require thatFileSystem
objects implementDebug
(#12204) -
7910bee
Consider the content of the new cells during notebook sync (#12203) -
f3ccd15
Revert "Remove--preview
as a required argument forruff server
(#12053)"... -
1e07bfa
[pycodestyle
] Whitespace after decorator (E204
) (#12140) -
5e7ba05
docs(*): fix a few typos, consistency issues and links (#12193) -
d12570e
docs(options): fix some typos and improve consistency (#12191) -
2f3264e
fix(rules): skip dummy variables forPLR1704
(#12190) -
e2e0889
[red-knot] Add very basic benchmark (#12182) - Additional commits viewable in compare view