Bump ruff from 0.5.0 to 0.5.2
Bumps ruff from 0.5.0 to 0.5.2.
Release notes
Sourced from ruff's releases.
0.5.2
Release Notes
Preview features
- Use
space
separator before parenthesized expressions in comprehensions with leading comments (#12282)- [
flake8-async
] UpdateASYNC100
to includeanyio
andasyncio
(#12221)- [
flake8-async
] UpdateASYNC109
to includeanyio
andasyncio
(#12236)- [
flake8-async
] UpdateASYNC110
to includeanyio
andasyncio
(#12261)- [
flake8-async
] UpdateASYNC115
to includeanyio
andasyncio
(#12262)- [
flake8-async
] UpdateASYNC116
to includeanyio
andasyncio
(#12266)Rule changes
- [
flake8-return
] Exempt properties from explicit return rule (RET501
) (#12243)- [
numpy
] Addnp.NAN
-to-np.nan
diagnostic (#12292)- [
refurb
] Makelist-reverse-copy
an unsafe fix (#12303)Server
- Consider
include
andextend-include
settings in native server (#12252)- Include nested configurations in settings reloading (#12253)
CLI
- Omit code frames for fixes with empty ranges (#12304)
- Warn about formatter incompatibility for
D203
(#12238)Bug fixes
- Make cache-write failures non-fatal on Windows (#12302)
- Treat
not
operations as boolean tests (#12301)- [
flake8-bandit
] AvoidS310
violations for HTTP-safe f-strings (#12305)- [
flake8-bandit
] Support explicit string concatenations in S310 HTTP detection (#12315)- [
flake8-bandit
] fix S113 false positive for httpx withouttimeout
argument (#12213)- [
pycodestyle
] Remove "non-obvious" allowance for E721 (#12300)- [
pyflakes
] Considerwith
blocks as single-item branches for redefinition analysis (#12311)- [
refurb
] Restrict forwarding fornewline
argument inopen()
calls to Python versions >= 3.10 (#12244)Documentation
- Update help and documentation to reflect
--output-format full
default (#12248)Performance
- Use more threads when discovering Python files (#12258)
Install ruff 0.5.2
Install prebuilt binaries via shell script
... (truncated)
Changelog
Sourced from ruff's changelog.
0.5.2
Preview features
- Use
space
separator before parenthesized expressions in comprehensions with leading comments (#12282)- [
flake8-async
] UpdateASYNC100
to includeanyio
andasyncio
(#12221)- [
flake8-async
] UpdateASYNC109
to includeanyio
andasyncio
(#12236)- [
flake8-async
] UpdateASYNC110
to includeanyio
andasyncio
(#12261)- [
flake8-async
] UpdateASYNC115
to includeanyio
andasyncio
(#12262)- [
flake8-async
] UpdateASYNC116
to includeanyio
andasyncio
(#12266)Rule changes
- [
flake8-return
] Exempt properties from explicit return rule (RET501
) (#12243)- [
numpy
] Addnp.NAN
-to-np.nan
diagnostic (#12292)- [
refurb
] Makelist-reverse-copy
an unsafe fix (#12303)Server
- Consider
include
andextend-include
settings in native server (#12252)- Include nested configurations in settings reloading (#12253)
CLI
- Omit code frames for fixes with empty ranges (#12304)
- Warn about formatter incompatibility for
D203
(#12238)Bug fixes
- Make cache-write failures non-fatal on Windows (#12302)
- Treat
not
operations as boolean tests (#12301)- [
flake8-bandit
] AvoidS310
violations for HTTP-safe f-strings (#12305)- [
flake8-bandit
] Support explicit string concatenations in S310 HTTP detection (#12315)- [
flake8-bandit
] fix S113 false positive for httpx withouttimeout
argument (#12213)- [
pycodestyle
] Remove "non-obvious" allowance for E721 (#12300)- [
pyflakes
] Considerwith
blocks as single-item branches for redefinition analysis (#12311)- [
refurb
] Restrict forwarding fornewline
argument inopen()
calls to Python versions >= 3.10 (#12244)Documentation
- Update help and documentation to reflect
--output-format full
default (#12248)Performance
- Use more threads when discovering Python files (#12258)
0.5.1
Preview features
... (truncated)
Commits
-
dc8db1a
Make some amendments to the v0.5.2 changelog (#12319) -
18c364d
[flake8-bandit
] Support explicit string concatenations in S310 HTTP detecti... -
7a7c601
Bump version to v0.5.2 (#12316) -
3bfbbbc
Avoid allocation when validating HTTP and HTTPS prefixes (#12313) -
1a3ee45
[flake8-bandit
] AvoidS310
violations for HTTP-safe f-strings (#12305) -
6584886
[refurb
] Makelist-reverse-copy
an unsafe fix (#12303) -
456d6a2
Considerwith
blocks as single-item branches (#12311) -
940df67
Omit code frames for fixes with empty ranges (#12304) -
e58713e
Make cache-write failures non-fatal (#12302) -
aa5c53b
Remove 'non-obvious' allowance for E721 (#12300) - Additional commits viewable in compare view