Repository navigation
Version 1.9.1
1.9.1:
1.9.0:
- Python 3.15 support and 160 new rules (#342)
- 4 modules
- 81 classes/functions/constants members etc.
- 72 kwargs
- 3 array typecodes
- Detect unary
+in match literal patternsmatch x: case +1: pass
- Detect slice type subscription support
x = slice[1:2:3]
- Detect PEP 810 lazy imports and
__lazy_modules__special module attributelazy import foo lazy from bar import foo
- Detect PEP 798 unpacking in comprehension values
[*x for x in range(10)] {*x for x in range(10)}
- Proper detection of self-documenting and PEP 701 f-strings (#360; fixes #39 and #264)
- New
FStringDetectorcombining AST analysis with source code verification - Detect
awaitexpressions in f-strings (3.7) - Detect string literals reusing the outer f-string quote
- Enabled by default but can be disabled with
--no-feature
- New
- Fix kwarg detection for chained receivers, like
Path.cwd().exists(follow_symlinks=True)(#344; @apoorvdarshan, #327) - Add missing rules related to the chained-receiver fix (#353)
- Avoid false violations for the unversioned backport sentinel (#354; fixes #330)
- Include tests in the source distribution (#365; fixes #347)
- Add manual pages (#346; @kienanstewart, fixes #345)
- Add more Python 3.14.1 rules (#321)
- Assorted rule fixes and cleanups (net +12 rules for other versions)
- Add missing rules across many versions (#342)
- Remove kwargs that never existed or are positional-only, plus corrections to kwargs rules
- Remove
asyncio.Task._check_future, duplicatefunctools.partial_method, and dead zip codec aliases - Fix
concurrent.futures.interpretermember rule paths,imaplib.IMAP4.Idler.burstpath, andcodecs.StreamRecodererror-index typo - Correct
asyncio.Servermember versions to 3.9 andunittest.doModuleCleanupsto 3.11 - Fix string keys in the
CODECS_ENCODINGStable,configparserbackport minimum to 3.2, and remove thefaulthandlerbackport
- Reliability fixes (#341)
- Structured fingerprint dedup in
output_text - Fix overly broad
RuntimeErrorcatch and missing multiprocessing pool cleanup - Strip individual lines in
getstringlist, close file handles withwith, and add missing builtin types
- Structured fingerprint dedup in