Fix pylint.

This commit is contained in:
Anthony Sottile
2014-06-01 16:08:31 -07:00
parent f961d8f5e1
commit 00d5904b80
2 changed files with 7 additions and 7 deletions

View File

@ -10,9 +10,9 @@ def validate_files(argv):
retcode = 0
for filename in argv:
if (
not filename.endswith('_test.py') and
not filename.endswith('__init__.py') and
not filename.endswith('/conftest.py')
not filename.endswith('_test.py') and
not filename.endswith('__init__.py') and
not filename.endswith('/conftest.py')
):
retcode = 1
print('{0} does not end in _test.py'.format(filename))