org.sonar.l10n.py.rules.python.OneStatementPerLine.html Maven / Gradle / Ivy
Why is this an issue?
Putting multiple statements on a single line lowers the code readability and makes debugging the code more complex.
if (True): print("hello") # Noncompliant
Write one statement per line to improve readability.
if (True):
print("hello")
© 2015 - 2024 Weber Informatics LLC | Privacy Policy