Build(deps-dev): Bump ruff from 0.4.5 to 0.4.7
Bumps ruff from 0.4.5 to 0.4.7.
Release notes
Sourced from ruff's releases.
v0.4.7
Changes
Preview features
- [
flake8-pyi
] ImplementPYI064
(#11325)- [
flake8-pyi
] ImplementPYI066
(#11541)- [
flake8-pyi
] ImplementPYI057
(#11486)- [
pyflakes
] Add option to enable F822 in__init__.py
files (#11370)Formatter
- Fix incorrect placement of trailing stub function comments (#11632)
Server
- Respect file exclusions in
ruff server
(#11590)- Add support for documents not exist on disk (#11588)
- Add Vim and Kate setup guide for
ruff server
(#11615)Bug fixes
- Avoid removing newlines between docstring headers and rST blocks (#11609)
- Infer indentation with imports when logical indent is absent (#11608)
- Use char index rather than position for indent slice (#11645)
- [
flake8-comprehension
] Strip parentheses around generators inC400
(#11607)- Mark
repeated-isinstance-calls
as unsafe on Python 3.10 and later (#11622)Contributors
@AlexWaygood
@Chubercik
@JaRoSchm
@MichaReiser
@T-256
@carljm
@charliermarsh
@hassec
@plredmond
@tomasr8
@tusharsadhwani
@vitaliyf
v0.4.6
Changes
Breaking changes
- Use project-relative paths when calculating GitLab fingerprints (#11532)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.7
Preview features
- [
flake8-pyi
] ImplementPYI064
(#11325)- [
flake8-pyi
] ImplementPYI066
(#11541)- [
flake8-pyi
] ImplementPYI057
(#11486)- [
pyflakes
] Add option to enable F822 in__init__.py
files (#11370)Formatter
- Fix incorrect placement of trailing stub function comments (#11632)
Server
- Respect file exclusions in
ruff server
(#11590)- Add support for documents not exist on disk (#11588)
- Add Vim and Kate setup guide for
ruff server
(#11615)Bug fixes
- Avoid removing newlines between docstring headers and rST blocks (#11609)
- Infer indentation with imports when logical indent is absent (#11608)
- Use char index rather than position for indent slice (#11645)
- [
flake8-comprehension
] Strip parentheses around generators inC400
(#11607)- Mark
repeated-isinstance-calls
as unsafe on Python 3.10 and later (#11622)0.4.6
Breaking changes
- Use project-relative paths when calculating GitLab fingerprints (#11532)
- Bump minimum supported Windows version to Windows 10 (#11613)
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
... (truncated)
Commits
-
1ad5f9c
Bump version to v0.4.7 (#11646) -
e914bc3
F401 sort bindings before adding to all (#11648) -
27f6f04
[red-knot] initial (very incomplete) flow graph (#11624) -
d62a617
red-knot: Don't refer toModule
instances as IDs (#11649) -
16a926d
[red-knot] infer int literal types (#11623) -
05566c6
UpdateWho's Using Ruff?
section to includeGodot
(#11647) -
7ce17b7
Add Vim and Kate setup guide forruff server
(#11615) -
f9a6450
Use char index rather than position for indent slice (#11645) -
8a25531
red-knot: improve internal documentation inmodule.rs
(#11638) -
9b6d2ce
Fix incorect placement of trailing stub function comments (#11632) - Additional commits viewable in compare view