Fixit
A lint framework that writes better Python code for you.
Fixit is a lint framework that complements Flake8. It’s based on LibCST which makes it possible to provide auto-fixes. Lint rules are made easy to build through pattern matching, a test toolkit, and utility helpers (e.g. scope analysis) for non-trivial boilerplate. It is optimized for efficiency, easy to customize and comes with many builtin lint rules.
- AddMissingHeaderRule
- AvoidOrInExceptRule
- AwaitAsyncCallRule
- CollapseIsinstanceChecksRule
- ComparePrimitivesByEqualRule
- CompareSingletonPrimitivesByIsRule
- ExplicitFrozenDataclassRule
- GatherSequentialAwaitRule
- ImportConstraintsRule
- NoAssertEqualsRule
- NoAssertTrueForComparisonsRule
- NoInheritFromObjectRule
- NoNamedTupleRule
- NoRedundantArgumentsSuperRule
- NoRedundantFStringRule
- NoRedundantLambdaRule
- NoRedundantListComprehensionRule
- NoStaticIfConditionRule
- NoStringTypeAnnotationRule
- ReplaceUnionWithOptionalRule
- RewriteToComprehensionRule
- RewriteToLiteralRule
- SortedAttributesRule
- UseAssertInRule
- UseAssertIsNotNoneRule
- UseClassNameAsCodeRule
- UseClsInClassmethodRule
- UseFstringRule
- UseIsNoneOnOptionalRule
- UseLintFixmeCommentRule
- UsePlusForStringConcatRule
- UseTypesFromTypingRule