Archive
Product
-
Conflicts in Local / Global Variables can be Unproductive
Conflicts in Local / Global Variables can be Unproductive This code insight counts one violation each time a global variable is assigned in a…
-
Unused arguments are quite risky for the code.
Unused arguments are quite risky for the code. This code insight counts one violation each time a function parameter is not used. Why you…
-
Always call ancestor to avoid risks in Python code
Always call ancestor to avoid risks in Python code This code insight counts one violation each time an __init__ method is not calling its…
-
Multiple Significant Returns are risky for the code
Multiple Significant Returns are risky for the code This code insight counts one violation each time a function has several meaningful return statements. Meaningful…
-
Unused imports cause risks in code
Unused imports cause risks in code This code insight counts one violation each time a import is nerver used. Why you should care Usually,…
-
Unused variables can cause risks in code
This code insight shows that Unused variables can cause risks in code C ounts one violation each time local variable is initialized but never…
-
Automatic numbering increases costs
Automatic numbering increases costs This code insight counts one violation each a string contains empty format replacement fields. bad print “{} is {}”.format(“life”,”hard”) good…
-
Backslash line continuation makes code less readable
Backslash line continuation makes code less readable This code insight shows that each time a backslash is the last non blank character of a…
-
len() as upper boundary makes code less readable
len() as upper boundary makes code less readable This code insight shows that Python tries to make the task of slicing lists and numpy.arrays…
-
Multiline Conditional Expressions should be avoided
Multiline Conditional Expressions should be avoided This code insight counts one violation each time a multiline conditional expression is encountered. bad x = 1…