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.

      E0307

      Safety
      Critical

      __str__ does not return str

      Learn more

      E0309

      Safety
      Critical

      __hash__ does not return an int

      E0601

      Safety
      Critical

      Using variable before assignment

      E0712

      Safety
      Critical

      Catching an exception which doesn't inherit from Exception.

      E1101

      Safety
      Critical

      Detect members or attributes that do not exists

      E1111

      Safety
      Critical

      Assigning result of a function call with no return

      E1120

      Safety
      Critical

      No value for argument in function call

      E1128

      Safety
      Critical

      Assigning result of a function call that returns nothing but None.

      E1137

      Safety
      Critical

      Unsupported assignment operation

      E1138

      Safety
      Critical

      Unsupported delete operation

      W0711

      Safety
      Critical

      Operation is raising exception