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.
yamllint/tests
Dimitri Papadopoulos 5ac3ed4490 Apply some pyupgrade suggestions
io.open() is an alias for for the builtin open() function:
	https://docs.python.org/3/library/io.html#io.open

If open() cannot open a file, an OSError is raised:
	https://docs.python.org/3/library/functions.html#open

EnvironmentError is kept for compatibility with previous versions;
starting from Python 3.3, it is an alias of OSError:
	https://docs.python.org/3/library/exceptions.html#EnvironmentError

Directly yield from an iterable instead of iterating to yield items.
2 years ago
..
rules docs: Fix typos 2 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 9 years ago
__init__.py refactor: Remove UTF-8 headers in Python files 3 years ago
common.py tests: Increase test coverage 3 years ago
test_cli.py Remove Unicode marker before strings 2 years ago
test_config.py config: Implement for `ignore-from-file` option 2 years ago
test_linter.py Remove Unicode marker before strings 2 years ago
test_module.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_parser.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_spec_examples.py Apply some pyupgrade suggestions 2 years ago
test_syntax_errors.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_yamllint_directives.py refactor: Remove UTF-8 headers in Python files 3 years ago