You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
512fe17047
Pound-signs followed by a lone CRLF should not raise if require-starting-space is specified. If require-starting-space is true, *and* either: - new-lines: disbale, or - newlines: type: dos is specified, a line with `#\r` or `#\r\n` should not raise a false positive. This commit also uses a Set for O(1) membership testing and uses the correct escape sequence for the nul byte. If we find a CRLF when looking for Unix newlines, yamllint should always raise, regardless of logic with require-starting-space. Closes: Issue #171. |
5 years ago | |
---|---|---|
.. | ||
conf | 5 years ago | |
rules | 5 years ago | |
__init__.py | 5 years ago | |
__main__.py | 8 years ago | |
cli.py | 5 years ago | |
config.py | 5 years ago | |
linter.py | 5 years ago | |
parser.py | 6 years ago |