CodingStyle-MaxOneStmtPerLine

Do not put more than one statement in a line

Required inputs: IR

To keep the code readable, put each statement on its own line.
Example
// BAD:
a = 1; b = 2;
// GOOD:
a = 1;
b = 2;

Possible Messages

Key

Text

Severity

Disabled

multiple_statements_per_line

Multiple statements per line.

None

False

Options

ignore_stmts

ignore_stmts : set[bauhaus.ir.PIR_Class_Name] = {'General_Statement_Sequence'}

Statements to be ignored when counting statements.