facebook pixelPython Static Analysis Rules
BACK TO LIST

Python rules

The Codiga Static Analysis engine is powered by the best open-source tools to check your Python code. Make sure your code does not have any security issues and follow design and other best practices. Automate your code reviews today and merge with confidence with Codiga.

      R0201

      Design
      Minor

      Does not use self

      Learn more

      R0205

      Design
      Minor

      Class inherits from object

      R0206

      Design
      Minor

      Cannot have defined parameters for properties

      R0902

      Design
      Minor

      Too many instance attributes

      R0911

      Design
      Minor

      Too many return statements

      R0913

      Design
      Minor

      Too many arguments for a function or method

      R1701

      Design
      Minor

      Multiple calls of isinstance calls can be merged

      R1704

      Design
      Minor

      Redefining argument with local name

      R1706

      Design
      Minor

      Consider using ternary operator

      R1711

      Design
      Minor

      Useless return at end of function or method

      R1717

      Design
      Minor

      Consider using a dictionary comprehension

      R1718

      Design
      Minor

      Consider using a set comprehension