facebook pixelCodiga Analysis Python Rules, severity informational , category code style
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.

C0112

Code style
Informational

Module, function, class or method have an empty docstring

Learn more

C0202

Code style
Informational

Detect when a class method has a first argument named differently than the value specified in valid-classmethod-first-arg option

C0203

Code style
Informational

Detect when a metaclass method has a first argument named differently than the value specified in valid-classmethod-first-arg option.

C0204

Code style
Informational

Metaclass class method __new__ should have 'cls' as first argument

C0302

Code style
Informational

Too many lines in a module

C0304

Code style
Informational

Final newline missing

C0326

Code style
Informational

Bad whitespace

C0327

Code style
Informational

Mixed line endings (between LF and CRLF)

C0330

Code style
Informational

Wrong indentation

C0102

Code style
Informational

Detect blacklisted names (toto, foo, etc)

C0209

Code style
Informational

Use a f-string

W0410

Code style
Informational

__future__ import is not the first non docstring statement

C0105

Code style
Informational

Name doesn't conform to naming rules associated to its type