Build(deps-dev): Bump ruff from 0.4.5 to 0.4.6
Bumps ruff from 0.4.5 to 0.4.6.
Release notes
Sourced from ruff's releases.
v0.4.6
Changes
Breaking changes
- Use project-relative paths when calculating GitLab fingerprints (#11532)
Preview features
- [
flake8-async
] Sleep with >24 hour interval should usually sleep forever (ASYNC116
) (#11498)Rule changes
- [
numpy
] Add missing functions to NumPy 2.0 migration rule (#11528)- [
mccabe
] Consider irrefutable pattern similar toif .. else
forC901
(#11565)- Consider
match
-case
statements forC901
,PLR0912
, andPLR0915
(#11521)- Remove empty strings when converting to f-string (
UP032
) (#11524)- [
flake8-bandit
]request-without-timeout
should warn forrequests.request
(#11548)- [
flake8-self
] Ignore sunder accesses inflake8-self
rules (#11546)- [
pyupgrade
] Lint forTypeAliasType
usages (UP040
) (#11530)Server
- Respect excludes in
ruff server
configuration discovery (#11551)- Use default settings if initialization options is empty or not provided (#11566)
ruff server
correctly treats.pyi
files as stub files (#11535)ruff server
searches for configuration in parent directories (#11537)ruff server
: An empty code action filter no longer returns notebook source actions (#11526)Bug fixes
- [
flake8-logging-format
] Fix autofix title inlogging-warn
(G010
) (#11514)- [
refurb
] Avoid recommendingoperator.itemgetter
with dependence on lambda arguments (#11574)- [
flake8-simplify
] Avoid recommending context manager in__enter__
implementations (#11575)- Create intermediary directories for
--output-file
(#11550)- Propagate reads on global variables (#11584)
- Treat all
singledispatch
arguments as runtime-required (#11523)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.6
Breaking changes
- Use project-relative paths when calculating GitLab fingerprints (#11532)
Preview features
- [
flake8-async
] Sleep with >24 hour interval should usually sleep forever (ASYNC116
) (#11498)Rule changes
- [
numpy
] Add missing functions to NumPy 2.0 migration rule (#11528)- [
mccabe
] Consider irrefutable pattern similar toif .. else
forC901
(#11565)- Consider
match
-case
statements forC901
,PLR0912
, andPLR0915
(#11521)- Remove empty strings when converting to f-string (
UP032
) (#11524)- [
flake8-bandit
]request-without-timeout
should warn forrequests.request
(#11548)- [
flake8-self
] Ignore sunder accesses inflake8-self
rules (#11546)- [
pyupgrade
] Lint forTypeAliasType
usages (UP040
) (#11530)Server
- Respect excludes in
ruff server
configuration discovery (#11551)- Use default settings if initialization options is empty or not provided (#11566)
ruff server
correctly treats.pyi
files as stub files (#11535)ruff server
searches for configuration in parent directories (#11537)ruff server
: An empty code action filter no longer returns notebook source actions (#11526)Bug fixes
- [
flake8-logging-format
] Fix autofix title inlogging-warn
(G010
) (#11514)- [
refurb
] Avoid recommendingoperator.itemgetter
with dependence on lambda arguments (#11574)- [
flake8-simplify
] Avoid recommending context manager in__enter__
implementations (#11575)- Create intermediary directories for
--output-file
(#11550)- Propagate reads on global variables (#11584)
- Treat all
singledispatch
arguments as runtime-required (#11523)
Commits
-
49a5a9c
Bump version to v0.4.6 (#11585) -
69d9212
Propagate reads on global variables (#11584) -
4a30558
[flake8-bandit
]request-without-timeout
should warn for `requests.request... -
16acd49
Remove some unusedpub
functions (#11576) -
3989cb8
Makeruff_notebook
a workspace dependency inruff_server
(#11572) -
a38c05b
Avoid recommending context manager in__enter__
implementations (#11575) -
ab107ef
Avoid recomending operator.itemgetter with dependence on lambda arg (#11574) -
b36c713
Consider irrefutable pattern similar toif .. else
forC901
(#11565) -
34a5063
Respect excludes inruff server
configuration discovery (#11551) -
adc0a5d
Rename document module to text_document (#11571) - Additional commits viewable in compare view