Miscellaneous-LineBreaks¶
You have to use the specified sort of line breaks
Required inputs: IR
\r (old Apple) or
\n (Unix) in source files. The expected default is to use
\r\n (Windows or Network) line breaks. Use option
allowed_line_break_form to change the
default.Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
bad_line_break |
Line break is not of the allowed form {!r} |
None |
False |
bad_line_break_block |
Line breaks from here on up to line {} (inclusive) are not of the allowed form {!r} |
None |
False |
file_using_bad_line_breaks |
All line breaks in this file are not of the allowed form {!r} |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
allowed_line_break_form¶
allowed_line_break_form : str = 'rn'
\r,
\r\n or \n).
file_types¶
file_types : bauhaus.rules.axivion.lexical.comments.FileToCheckSet = {'Primary_File', 'User_Include_File'}
Primary_File,
User_Include_File, System_Include_File.