mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
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 |
||
---|---|---|
.. | ||
rules | ||
yaml-1.2-spec-examples | ||
__init__.py | ||
common.py | ||
test_cli.py | ||
test_config.py | ||
test_linter.py | ||
test_module.py | ||
test_parser.py | ||
test_spec_examples.py | ||
test_syntax_errors.py | ||
test_yamllint_directives.py |