project-template
project-template copied to clipboard
Bump ruff from 0.2.1 to 0.4.3
Bumps ruff from 0.2.1 to 0.4.3.
Release notes
Sourced from ruff's releases.
v0.4.3
Changes
Enhancements
- Add support for PEP 696 syntax (#11120)
Preview features
- [
refurb
] Use function range forreimplemented-operator
diagnostics (#11271)- [
refurb
] Ignore methods inreimplemented-operator
(FURB118
) (#11270)- [
refurb
] Implementfstring-number-format
(FURB116
) (#10921)- [
ruff
] Implementredirected-noqa
(RUF101
) (#11052)- [
pyflakes
] Distinguish between first-party and third-party imports for fix suggestions (#11168)Rule changes
- [
flake8-bugbear
] Ignore non-abstract class attributes when enforcingB024
(#11210)- [
flake8-logging
] Include inline instantiations when detecting loggers (#11154)- [
pylint
] Also emitPLR0206
for properties with variadic parameters (#11200)- [
ruff
] Detect duplicate codes as part ofunused-noqa
(RUF100
) (#10850)Formatter
- Avoid multiline expression if format specifier is present (#11123)
LSP
- Write
ruff server
setup guide for Helix (#11183)ruff server
no longer hangs after shutdown (#11222)ruff server
reads from a configuration TOML file in the user configuration directory if no local configuration exists (#11225)ruff server
respectsper-file-ignores
configuration (#11224)ruff server
: Support a custom TOML configuration file (#11140)ruff server
: Support setting to prioritize project configuration over editor configuration (#11086)Bug fixes
- Avoid debug assertion around NFKC renames (#11249)
- [
pyflakes
] Prioritizeredefined-while-unused
overunused-import
(#11173)- [
ruff
] Respectasync
expressions in comprehension bodies (#11219)- [
pygrep_hooks
] Fixblanket-noqa
panic when last line has noqa with no newline (PGH004
) (#11108)- [
perflint
] Ignore list-copy recommendations for asyncfor
loops (#11250)- [
pyflakes
] Improveinvalid-print-syntax
documentation (#11171)Performance
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.3
Enhancements
- Add support for PEP 696 syntax (#11120)
Preview features
- [
refurb
] Use function range forreimplemented-operator
diagnostics (#11271)- [
refurb
] Ignore methods inreimplemented-operator
(FURB118
) (#11270)- [
refurb
] Implementfstring-number-format
(FURB116
) (#10921)- [
ruff
] Implementredirected-noqa
(RUF101
) (#11052)- [
pyflakes
] Distinguish between first-party and third-party imports for fix suggestions (#11168)Rule changes
- [
flake8-bugbear
] Ignore non-abstract class attributes when enforcingB024
(#11210)- [
flake8-logging
] Include inline instantiations when detecting loggers (#11154)- [
pylint
] Also emitPLR0206
for properties with variadic parameters (#11200)- [
ruff
] Detect duplicate codes as part ofunused-noqa
(RUF100
) (#10850)Formatter
- Avoid multiline expression if format specifier is present (#11123)
LSP
- Write
ruff server
setup guide for Helix (#11183)ruff server
no longer hangs after shutdown (#11222)ruff server
reads from a configuration TOML file in the user configuration directory if no local configuration exists (#11225)ruff server
respectsper-file-ignores
configuration (#11224)ruff server
: Support a custom TOML configuration file (#11140)ruff server
: Support setting to prioritize project configuration over editor configuration (#11086)Bug fixes
- Avoid debug assertion around NFKC renames (#11249)
- [
pyflakes
] Prioritizeredefined-while-unused
overunused-import
(#11173)- [
ruff
] Respectasync
expressions in comprehension bodies (#11219)- [
pygrep_hooks
] Fixblanket-noqa
panic when last line has noqa with no newline (PGH004
) (#11108)- [
perflint
] Ignore list-copy recommendations for asyncfor
loops (#11250)- [
pyflakes
] Improveinvalid-print-syntax
documentation (#11171)Performance
0.4.2
... (truncated)
Commits
1e91a09
Bump version to v0.4.3 (#11274)d0f51c6
Remove remainingruff_shrinking
references (#11272)8dd3811
Use function range forreimplemented-operator
diagnostics (#11271)894cd13
[refurb
] Ignore methods inreimplemented-operator
(FURB118
) (#11270)f3284fd
Remove unnecessary check for RUF020 enabled (#11268)82dd5e6
[red-knot] resolve class members (#11256)6a1e555
Upgrade to Rust 1.78 (#11260)349a4cf
Remove trailing reference section (#11257)dfbeca5
ruff server
no longer hangs after shutdown (#11222)9e69cd6
Rephrase rationale forpytest-incorrect-pytest-import
(#11255)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)