yamllint/tests
Jérôme Alet bb567ba395
comments: Allow whitespace after the shebang marker
Basically, any character is now allowed after the shebang marker.

Closes #428.

Whitespace after the #! marker on shebang lines is authorized and
optional, as explained on Wikipedia's entry for shebang line as can be
seen from the extracts below :

> White space after #! is optional

and

> It has been claimed[20] that some old versions of Unix expect the
> normal shebang to be followed by a space and a slash (#! /), but this
> appears to be untrue;[21] rather, blanks after the shebang have
> traditionally been allowed, and sometimes documented with a space
2021-12-19 22:02:56 +01:00
..
rules comments: Allow whitespace after the shebang marker 2021-12-19 22:02:56 +01:00
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 2016-02-01 23:27:49 +01:00
__init__.py Tests: Run with LC_ALL=C for uniform tests 2016-06-28 11:04:50 +02:00
common.py CI: Add build environment without UTF-8 locales to travis-ci 2020-07-20 13:57:06 +02:00
test_cli.py github format: Update output to utilize groups 2021-12-01 08:52:59 +01:00
test_config.py End support for Python 2 2021-01-06 07:55:10 +01:00
test_linter.py Drop support for EOL Python 2.6 2018-11-26 19:09:47 +01:00
test_module.py End support for Python 2 2021-01-06 07:55:10 +01:00
test_parser.py Upgrade unit tests to use more useful asserts 2018-11-26 19:09:47 +01:00
test_spec_examples.py Remove redundant parentheses 2018-11-26 19:09:47 +01:00
test_syntax_errors.py Rules: indentation: Handle sets 2016-02-01 17:52:46 +01:00
test_yamllint_directives.py directives: Fix DOS lines messing with rule IDs 2020-09-26 11:12:26 +02:00