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/yamllint
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
3 years ago
..
conf fix(default.yaml): disable `empty-values` & `octal-values` by default 5 years ago
rules comments: Allow whitespace after the shebang marker 3 years ago
__init__.py yamllint version 1.26.3 4 years ago
__main__.py Add __main__ 8 years ago
cli.py github format: Update output to utilize groups 3 years ago
config.py Add global "locale" config option and make key-ordering rule locale-aware 5 years ago
linter.py End support for Python 2 4 years ago
parser.py fix(parser): Correctly handle DOS new lines in 'line' rules 6 years ago