C0113
Detect inappropriate use of the not keyword
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.
Detect inappropriate use of the not keyword
Check when valid is compared to True, False or None (and can be replaced by simpler expressions)
Detect when a name contains at least one non-ASCII unicode character
Trailing newlines
Imports are not grouped
Import and code are mixed
Import alias is same as original package
Use sys.exit()
Use TODO, not FIXME
Using the max builtin instead of a conditional improves readability and conciseness
Using dict() to create an empty dictionary instead of the literal {}. The literal is faster as it avoids an additional function call.
Contains control characters that can permit obfuscated code executed differently than displayed.
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.