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 | |
---|---|---|
.. | ||
rules | 5 years ago | |
yaml-1.2-spec-examples | 9 years ago | |
__init__.py | 9 years ago | |
common.py | 6 years ago | |
test_cli.py | 5 years ago | |
test_config.py | 5 years ago | |
test_linter.py | 6 years ago | |
test_module.py | 6 years ago | |
test_parser.py | 6 years ago | |
test_spec_examples.py | 6 years ago | |
test_syntax_errors.py | 9 years ago | |
test_yamllint_directives.py | 5 years ago |