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.
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. |
6 years ago | |
|---|---|---|
| .. | ||
| conf | 6 years ago | |
| rules | 6 years ago | |
| __init__.py | 6 years ago | |
| __main__.py | 9 years ago | |
| cli.py | 6 years ago | |
| config.py | 6 years ago | |
| linter.py | 6 years ago | |
| parser.py | 7 years ago | |