8th day of python challenges 111-117

This commit is contained in:
abd.shallal
2019-08-04 15:26:35 +03:00
parent b04c1b055f
commit 627802c383
3215 changed files with 760227 additions and 491 deletions

View File

@@ -0,0 +1,7 @@
consider-using-ternary:5::Consider using ternary (true_value if condition else false_value):HIGH
consider-using-ternary:15:func2:Consider using ternary (true_value if condition else false_value):HIGH
consider-using-ternary:18::Consider using ternary ('ERROR' if some_callable(condition) else 'SUCCESS'):HIGH
consider-using-ternary:19::Consider using ternary ('greater' if SOME_VALUE1 > 3 else 'not greater'):HIGH
consider-using-ternary:20::Consider using ternary ('both' if SOME_VALUE2 > 4 and SOME_VALUE3 else 'not'):HIGH
simplify-boolean-expression:23::Boolean expression may be simplified to SOME_VALUE2:HIGH
consider-using-ternary:33:func4:Consider using ternary (truth_value if condition else false_value):HIGH