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
Informational

Does not use self

Learn more

R0205

Design
Informational

Class inherits from object

R0206

Design
Informational

Cannot have defined parameters for properties

R0801

Design
Informational

Similar lines detection

R0901

Design
Informational

Too many ancestors

R0902

Design
Informational

Too many instance attributes

R0903

Design
Informational

Too few public methods

R0904

Design
Informational

Too many public methods

R0911

Design
Informational

Too many return statements

R0912

Design
Informational

Too many branches

R0913

Design
Informational

Too many arguments for a function or method

R1701

Design
Informational

Multiple calls of isinstance calls can be merged

R1704

Design
Informational

Redefining argument with local name

R1706

Design
Informational

Consider using ternary operator

R1711

Design
Informational

Useless return at end of function or method

R1717

Design
Informational

Consider using a dictionary comprehension

R1718

Design
Informational

Consider using a set comprehension

We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.