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.

      E0202

      Safety
      High

      Method has the same name as an attribute

      Learn more

      E0203

      Safety
      High

      Access to members before they are defined

      E0306

      Safety
      High

      __repr__ does not return str

      E0401

      Safety
      High

      Module that cannot be imported

      E0402

      Safety
      High

      Attempted relative import beyond top-level package

      E0702

      Safety
      High

      Raising int while only classes or instances are allowed

      W0102

      Safety
      High

      Dangerous default value as argument

      W0128

      Safety
      High

      Redeclared variable in assignment

      W0601

      Safety
      High

      Global variable used but not defined

      W0631

      Safety
      High

      Loop variable used outside a loop

      W1404

      Safety
      High

      Implicit string concatenation

      W1508

      Safety
      High

      Invalid default value when getting the environment

      E4702

      Safety
      High

      Iterated dict is being modified inside for loop body, iterate through a copy of it instead.