This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
multipub/.pyenv/lib/python3.7/site-packages/pylint/test/functional/ternary.txt
2019-02-09 02:45:25 -06:00

7 lines
716 B
Text

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