Logo
0.1.3

Tutorial:

  • Getting Started
  • Build a Lint Rule
  • Test a Lint Rule
  • Why Fixit?
  • Contributing to Fixit

Rules:

  • AddMissingHeaderRule
  • AvoidOrInExceptRule
  • AwaitAsyncCallRule
  • CollapseIsinstanceChecksRule
  • ComparePrimitivesByEqualRule
  • CompareSingletonPrimitivesByIsRule
  • ExplicitFrozenDataclassRule
  • Flake8PseudoLintRule
  • 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
Fixit
  • »
  • Index

Index

A | B | C | E | F | I | K | L | M | N | R | S | V | W

A

  • add_lint_rule_tests_to_module() (in module fixit)

B

  • BaseContext (class in fixit.common.base)

C

  • code (fixit.InvalidTestCase attribute)
    • (fixit.ValidTestCase attribute)
  • column (fixit.InvalidTestCase attribute)
  • config (fixit.common.base.BaseContext attribute)
    • (fixit.InvalidTestCase attribute)
    • (fixit.ValidTestCase attribute)
  • CstContext (class in fixit)
  • CstLintRule (class in fixit)

E

  • expected_message (fixit.InvalidTestCase attribute)
  • expected_replacement (fixit.InvalidTestCase attribute)
  • expected_str() (fixit.InvalidTestCase property)

F

  • file_path (fixit.common.base.BaseContext attribute)
  • filename (fixit.InvalidTestCase attribute)
    • (fixit.ValidTestCase attribute)

I

  • in_scripts() (fixit.common.base.BaseContext property)
  • in_tests() (fixit.common.base.BaseContext property)
  • InvalidTestCase (class in fixit)

K

  • kind (fixit.InvalidTestCase attribute)

L

  • line (fixit.InvalidTestCase attribute)

M

  • MESSAGE (fixit.CstLintRule attribute)
  • METADATA_DEPENDENCIES (fixit.CstLintRule attribute)

N

  • node_stack (fixit.CstContext attribute)

R

  • report() (fixit.CstLintRule method)
  • reports (fixit.common.base.BaseContext attribute)
  • requires_metadata_caches() (fixit.CstLintRule class method)

S

  • should_skip_file() (fixit.CstLintRule method)

V

  • ValidTestCase (class in fixit)

W

  • wrapper (fixit.CstContext attribute)

© Copyright 2021, Facebook.

Built with Sphinx using a theme provided by Read the Docs.