Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ternary.txt 816B

12345678
  1. consider-using-ternary:5::Consider using ternary (true_value if condition else false_value):HIGH
  2. consider-using-ternary:6::Consider using ternary (true_value if condition else false_value):HIGH
  3. consider-using-ternary:16:func2:Consider using ternary (true_value if condition else false_value):HIGH
  4. consider-using-ternary:21:func3:Consider using ternary (true_value if condition else false_value):HIGH
  5. consider-using-ternary:24::Consider using ternary ('ERROR' if some_callable(condition) else 'SUCCESS'):HIGH
  6. consider-using-ternary:25::Consider using ternary ('greater' if SOME_VALUE1 > 3 else 'not greater'):HIGH
  7. consider-using-ternary:26::Consider using ternary ('both' if (SOME_VALUE2 > 4) and (SOME_VALUE3) else 'not'):HIGH
  8. simplify-boolean-expression:29::Boolean expression may be simplified to SOME_VALUE2:HIGH