Repository navigation
v0.4.6
·
11143 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
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 .. elseforC901(#11565) - Consider
match-casestatements forC901,PLR0912, andPLR0915(#11521) - Remove empty strings when converting to f-string (
UP032) (#11524) - [
flake8-bandit]request-without-timeoutshould warn forrequests.request(#11548) - [
flake8-self] Ignore sunder accesses inflake8-selfrules (#11546) - [
pyupgrade] Lint forTypeAliasTypeusages (UP040) (#11530)
Server
- Respect excludes in
ruff serverconfiguration discovery (#11551) - Use default settings if initialization options is empty or not provided (#11566)
ruff servercorrectly treats.pyifiles as stub files (#11535)ruff serversearches 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.itemgetterwith 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
singledispatcharguments as runtime-required (#11523)