Use #@ as chars

This commit is contained in:
Florian Bruhin 2016-06-07 23:20:30 +02:00
parent 6249436bde
commit 1c6b4da706
3 changed files with 4 additions and 4 deletions

View File

@ -18,4 +18,4 @@ pyflakes
mccabe==0.5.0
#! comment: pep257 still needed by flake8-docstrings but ignored
#@ comment: pep257 still needed by flake8-docstrings but ignored

View File

@ -18,5 +18,5 @@ pytest-travis-fold
pytest-xvfb
vulture
#! filter: Flask != 0.11.0
#! ignore: Jinja2, MarkupSafe
#@ filter: Flask != 0.11.0
#@ ignore: Jinja2, MarkupSafe

View File

@ -70,7 +70,7 @@ def read_comments(fobj):
'ignore': [],
}
for line in fobj:
if line.startswith('#!'):
if line.startswith('#@'):
command, args = line[2:].split(':', maxsplit=1)
command = command.strip()
args = args.strip()