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.

W0105

Performance
Error

String statement has no effect

Learn more

W0106

Performance
Error

Expression not assigned

R1728

Performance
Warning

Consider using a generator instead for better performance

R1729

Performance
Warning

Comprehension inside of 'any' or 'all' is unnecessary. A generator would be sufficient and faster.

R1733

Performance
Warning

Iterating over the dictionary items (key-item pairs) and accessing the value by index lookup when the value can be accessed directly instead

R0133

Performance
Critical

Comparison between constants has a constant value

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.