Archive
Risk
-
Having + for list concatenation
Having + for list concatenation This code insight counts one violation each time a “+” operator is involved in list concatenation. Why you should…
-
Long try blocks can cause risk in code
Long try blocks can cause risk in code This code insight computes the integer part of the average size of all “try” block in…
-
Importing naming collisions can cause risks
Importing naming collisions can cause risks This code insight Counts one violation each time a name collision is encountered: pattern 1: from xxx import…
-
Global Variables can easily change module behavior
Global Variables can easily change module behavior This code insight counts one violation each time global variable is declared, unless its name is uppercase.…
-
Empty and Implicit Returns cause resiliency issues.
Empty and Implicit Returns cause resiliency issues. This code insight Counts one violation each time a function has at least one significant return (expression…
-
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,…