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
Adrien Vergé 008db4aa09 float-values: Fix bug on strings containing fordidden values
The rule correctly reports number values like `.1`, `1e2`, `.NaN` and
`.Inf`, but it also reported false positives on strings like `.1two3`,
`1e2a`, `.NaNa` and `.Infinit∞`.

The regexps need to end with an end delimiter (`$`) otherwise longer
strings can be matched too.

Fixes https://github.com/adrienverge/yamllint/issues/495
2 years ago
..
rules float-values: Fix bug on strings containing fordidden values 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 No need to inherit from `object` in Python 3 2 years ago
test_config.py config: Implement for `ignore-from-file` option 2 years ago
test_linter.py tests: Increase test coverage 3 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 refactor: Remove UTF-8 headers in Python files 3 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