Use #@ as chars
This commit is contained in:
parent
6249436bde
commit
1c6b4da706
@ -18,4 +18,4 @@ pyflakes
|
|||||||
|
|
||||||
mccabe==0.5.0
|
mccabe==0.5.0
|
||||||
|
|
||||||
#! comment: pep257 still needed by flake8-docstrings but ignored
|
#@ comment: pep257 still needed by flake8-docstrings but ignored
|
||||||
|
@ -18,5 +18,5 @@ pytest-travis-fold
|
|||||||
pytest-xvfb
|
pytest-xvfb
|
||||||
vulture
|
vulture
|
||||||
|
|
||||||
#! filter: Flask != 0.11.0
|
#@ filter: Flask != 0.11.0
|
||||||
#! ignore: Jinja2, MarkupSafe
|
#@ ignore: Jinja2, MarkupSafe
|
||||||
|
@ -70,7 +70,7 @@ def read_comments(fobj):
|
|||||||
'ignore': [],
|
'ignore': [],
|
||||||
}
|
}
|
||||||
for line in fobj:
|
for line in fobj:
|
||||||
if line.startswith('#!'):
|
if line.startswith('#@'):
|
||||||
command, args = line[2:].split(':', maxsplit=1)
|
command, args = line[2:].split(':', maxsplit=1)
|
||||||
command = command.strip()
|
command = command.strip()
|
||||||
args = args.strip()
|
args = args.strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user