- What language is this for? Python
- Which rule? python:OneStatementPerLine
- Why do you believe it’s a false-positive/false-negative? Because I do not consider
...
a statement. It’s alsoblack
’s 2024 style to place...
in the same line in stubs. - Are you using
- SonarLint - which IDE/version? VS Code, v4.3.0
- in connected mode with SonarQube or SonarCloud? no
- SonarLint - which IDE/version? VS Code, v4.3.0
- How can we reproduce the problem? Give us a self-contained snippet of code (formatted text, no screenshots)
def f(): ...