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.
Use io.open() when reading files in cli which has the same behaviour in Python 2 and Python 3, and supply the newline='' parameter which handles but does not translate line endings. Add dos.yml test file with windows newlines. Also add to file finding test expected output. Add test for new-lines rule through the cli. Validates files are read with the correct universal newlines setting. Fixes adrienverge/yamllint#228 |
6 years ago | |
|---|---|---|
| .. | ||
| rules | 6 years ago | |
| yaml-1.2-spec-examples | 10 years ago | |
| __init__.py | 9 years ago | |
| common.py | 7 years ago | |
| test_cli.py | 6 years ago | |
| test_config.py | 6 years ago | |
| test_linter.py | 7 years ago | |
| test_module.py | 7 years ago | |
| test_parser.py | 7 years ago | |
| test_spec_examples.py | 7 years ago | |
| test_syntax_errors.py | 10 years ago | |
| test_yamllint_directives.py | 6 years ago | |