Bump ruff from 0.3.0 to 0.3.1
Bumps ruff from 0.3.0 to 0.3.1.
Release notes
Sourced from ruff's releases.
v0.3.1
Changes
Preview features
- [
pycodestyle
] Fix E301 not triggering on decorated methods. (#10117)- [
pycodestyle
] Respectisort
settings in blank line rules (E3*
) (#10096)- [
pycodestyle
] Make blank lines in typing stub files optional (E3*
) (#10098)- [
pylint
] Implementsingledispatch-method
(E1519
) (#10140)- [
pylint
] Implementuseless-exception-statement
(W0133
) (#10176)Rule changes
- [
flake8-debugger
] Check for use ofdebugpy
andptvsd
debug modules (#10177) (#10194)- [
pyupgrade
] Generate diagnostic for all valid f-string conversions regardless of line length (UP032
) (#10238)- [
pep8_naming
] Add fixes forN804
andN805
(#10215)CLI
- Colorize the output of
ruff format --diff
(#10110)- Make
--config
and--isolated
global flags (#10150)- Correctly expand tildes and environment variables in paths passed to
--config
(#10219)Configuration
- Accept a PEP 440 version specifier for
required-version
(#10216)- Implement isort's
default-section
setting (#10149)Bug fixes
- Remove trailing space from
CapWords
message (#10220)- Respect external codes in file-level exemptions (#10203)
- [
flake8-raise
] Avoid false-positives for parens-on-raise withfuture.exception()
(RSE102
) (#10206)- [
pylint
] Add fix for unary expressions inPLC2801
(#9587)- [
ruff
] Fix RUF028 not allowing# fmt: skip
on match cases (#10178)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.3.1
Preview features
- [
pycodestyle
] Fix E301 not triggering on decorated methods. (#10117)- [
pycodestyle
] Respectisort
settings in blank line rules (E3*
) (#10096)- [
pycodestyle
] Make blank lines in typing stub files optional (E3*
) (#10098)- [
pylint
] Implementsingledispatch-method
(E1519
) (#10140)- [
pylint
] Implementuseless-exception-statement
(W0133
) (#10176)Rule changes
- [
flake8-debugger
] Check for use ofdebugpy
andptvsd
debug modules (#10177) (#10194)- [
pyupgrade
] Generate diagnostic for all valid f-string conversions regardless of line length (UP032
) (#10238)- [
pep8_naming
] Add fixes forN804
andN805
(#10215)CLI
- Colorize the output of
ruff format --diff
(#10110)- Make
--config
and--isolated
global flags (#10150)- Correctly expand tildes and environment variables in paths passed to
--config
(#10219)Configuration
- Accept a PEP 440 version specifier for
required-version
(#10216)- Implement isort's
default-section
setting (#10149)Bug fixes
- Remove trailing space from
CapWords
message (#10220)- Respect external codes in file-level exemptions (#10203)
- [
flake8-raise
] Avoid false-positives for parens-on-raise withfuture.exception()
(RSE102
) (#10206)- [
pylint
] Add fix for unary expressions inPLC2801
(#9587)- [
ruff
] Fix RUF028 not allowing# fmt: skip
on match cases (#10178)
Commits
-
b9264a5
Set maturin version inrelease.yaml
(#10257) -
ea79f61
Bump version to v0.3.1 (#10252) -
f999b1b
TweakE712
docs (#8613) -
fe6afbe
Fixruff-action
documentation to consistently useargs
instead of `option... -
cbd927f
Make rule PT012 example clearer (#10248) -
6159a8e
[pyupgrade
] Generate diagnostic for all valid f-string conversions regardle... -
8ea5b08
refactor: UseQualifiedName
forImported::call_path
(#10214) -
4c05c25
Add encoding when opening files in generate_mkdocs.py (#10244) -
af6ea2f
[pycodestyle
]: Make blank lines in typing stub files optional (E3*
) (#10098) -
46ab9de
[pycodestyle
] Respectisort
settings in blank line rules (E3*
) (#10096) - Additional commits viewable in compare view