Repository navigation
v0.3.6
·
11498 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changes
Preview features
- [
pylint] Implementbad-staticmethod-argument(PLW0211) (#10781) - [
pylint] Implementif-stmt-min-max(PLR1730,PLR1731) (#10002) - [
pyupgrade] Replacestr,Enummultiple inheritance withStrEnumUP042(#10713) - [
refurb] Implementif-expr-instead-of-or-operator(FURB110) (#10687) - [
refurb] Implementint-on-sliced-str(FURB166) (#10650) - [
refurb] Implementwrite-whole-file(FURB103) (#10802) - [
refurb] Supportitemgetterinreimplemented-operator(FURB118) (#10526) - [
flake8_comprehensions] Addsum/min/maxto unnecessary comprehension check (C419) (#10759)
Rule changes
- [
pydocstyle] Require capitalizing docstrings where the first sentence is a single word (D403) (#10776) - [
pycodestyle] Ignore annotated lambdas in class scopes (E731) (#10720) - [
flake8-pyi] Various improvements to PYI034 (#10807) - [
flake8-slots] Flag subclasses of call-basedtyping.NamedTuples as well as subclasses ofcollections.namedtuple()(SLOT002) (#10808) - [
pyflakes] Allow forward references in class bases in stub files (F821) (#10779) - [
pygrep-hooks] Improveblanket-noqaerror message (PGH004) (#10851)
CLI
- Support
FORCE_COLORenv var (#10839)
Configuration
- Support negated patterns in
[extend-]per-file-ignores(#10852)
Bug fixes
- [
flake8-import-conventions] Accept non-aliased (but correct) import inunconventional-import-alias(ICN001) (#10729) - [
flake8-quotes] Add semantic model flag when inside f-string replacement field (#10766) - [
pep8-naming] Recursively resolveTypeDictsfor N815 violations (#10719) - [
flake8-quotes] RespectQ00*ignores inflake8-quotesrules (#10728) - [
flake8-simplify] Show negated condition inneedless-booldiagnostics (SIM103) (#10854) - [
ruff] Use within-scope shadowed bindings inasyncio-dangling-task(RUF006) (#10793) - [
flake8-pytest-style] Fix single-tuple conversion inpytest-parametrize-values-wrong-type(PT007) (#10862) - [
flake8-return] Ignore assignments to annotated variables inunnecessary-assign(RET504) (#10741) - [
refurb] Do not allow any keyword arguments forread-whole-fileinrbmode (FURB101) (#10803) - [
pylint] Don't recommend decorating staticmethods with@singledispatch(PLE1519,PLE1520) (#10637) - [
pydocstyle] Use section name range for all section-related docstring diagnostics (#10740) - Respect
# noqadirectives on__all__openers (#10798)