You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great project! I found at least one line of code that could be improved (moved loop to a dictionary expression); but I see, however, 99.5% false positives, e.g.:
loop-try-except-usage can only be moved outside the loop, if the except clause contains a break. Otherwise I want to keep processing the loop
loop-invariant-statement is usually not at all invariant but depends on a loop variable
use-tuple-over-list is most often typed as a List[...] and therefore cannot and should not hold a tuple, even if initiated empty
The text was updated successfully, but these errors were encountered:
Great project! I found at least one line of code that could be improved (moved loop to a dictionary expression); but I see, however, 99.5% false positives, e.g.:
loop-try-except-usage
can only be moved outside the loop, if the except clause contains abreak
. Otherwise I want to keep processing the looploop-invariant-statement
is usually not at all invariant but depends on a loop variableuse-tuple-over-list
is most often typed as aList[...]
and therefore cannot and should not hold a tuple, even if initiated emptyThe text was updated successfully, but these errors were encountered: