Bugfixes
- Fixes
dataclasses
import, it was failing onpython3.6
- Fixes
InconsistentComprehensionViolation
work withasync
comprehensions - Fixes nested compehensions support for
InconsistentComprehensionViolation
- Fixes multiple
if
support forInconsistentComprehensionViolation
- Fixes that
NestedTernaryViolation
was not reported for a comprehension - Fixes that
ConstantConditionViolation
was not reported for a comprehension - Fixes that
ConstantConditionViolation
was triggering forwhile x := True:
- Fixes that
UselessElseViolation
was not reported
forfor
,while
, andtry
keywords - Fixes false positive
InfiniteWhileLoopViolation
fortry
#1857 - Fixes that
InfiniteWhileLoopViolation
was not triggered on1
or other truthy nodes
Misc
- Refactors how
tokenize
tests are executed,
now we have an option to compile fixture code
to make sure it is syntatically valid