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.

      E1305

      Error prone
      Medium

      Too many arguments for format string

      Learn more

      I1101

      Error prone
      Medium

      Variable is accessed for non-existent member of C extension

      W0129

      Error prone
      Medium

      Assert statement has a string literal as its first argument and the assert will never fail.

      W0143

      Error prone
      Medium

      Comparing against a callable (parenthesis needed)

      W0602

      Error prone
      Medium

      Global variable used but not assigned

      W0614

      Error prone
      Medium

      Unused import from another module

      W0641

      Error prone
      Medium

      Variable defined but not used

      W1305

      Error prone
      Medium

      Invalid combined format specification

      W0238

      Error prone
      Medium

      Unused private member

      C1803

      Error prone
      Medium

      Make use of implicit boolean

      W1514

      Error prone
      Medium

      Using open without explicitly specifying an encoding

      R1730

      Error prone
      Medium

      Use the min builtin instead of using an if condition

      W0199

      Error prone
      Medium

      Assert called on a 2-item-tuple.

      C3001

      Error prone
      Medium

      Lambda expression assigned to a variable. Define a function using the "def" keyword instead.

      R0022

      Error prone
      Medium

      Useless option value.

      W0012

      Error prone
      Medium

      Unknown option value.