Releases
0.6.0
Features
Adds flake8-per-file-ignore
dependency
Adds default values to the flake8 --help
output
Adds do
as a restricted variable name
Forbids multiple assignment targets for context managers
Forbids to use incorrect multi-line parameters
Forbids to use bool
values as positional arguments
Forbids to use extra indentation
Forbids to use inconsistent brackets
Forbids to use multi-line function type annotations
Forbids to use uppercase string modifiers
Forbids to use assign chains: now we only can use one assign per line
Forbids to use assign with unpacking for any nodes except Name
Forbids to have duplicate except
blocks
Bugfixes
Fixes tests failing on windows (@sobolevn hates windows!),
but it still fails sometimes
Fixes bug when @staticmethod
was treated as a module member
Fixes bug when some nodes were not checked with TooDeepNestingViolation
Fixes bug when it was possible to provide non-unique aliases
Fixes incorrect line number for incorrect parameter names
Fixes bug when names like __some__value__
were not treated as underscored
Fixes bug when assignment to anything rather than name was raising an error
Misc
Refactoring: now we fix async
nodes offset in a special transformation
Improves docs: specifies what transformation
is
Improves docs: making contributing section in the README
more friendly
Improves build: changes how CI installs poetry
You can’t perform that action at this time.