CodingStyle-MaximumLineLength

The length of a line of code must not exceed the character limit

Required inputs: IR

The length of a line of code must not exceed the character limit.

Possible Messages

Key

Text

Severity

Disabled

excessive_line_length

Limit the length of a line of code to {} characters.

None

False

excessive_line_length_with_value

Length of a line with {} characters exceeds limit of {} characters.

None

False

Options

ignore_comments

ignore_comments : bool = False

Ignore long lines ending in a comment.
 

maximum_length

maximum_length : int = 160

The maximum number of characters in a line.
 

show_value

show_value : bool = False

Whether metric value should be displayed.
 

tab_width

tab_width : int = 4

If set to an integer greater than 1, each tabulator is considered to advance to the next multiple of tab_width columns.