fix linting

This commit is contained in:
Robert Kaussow 2019-04-11 14:24:50 +02:00
parent adf25851dc
commit 80ea191fa1
2 changed files with 3 additions and 3 deletions

View File

@ -164,8 +164,8 @@ class Settings(object):
os.path.relpath(os.path.normpath(os.path.join(root, filename))))
valid = []
includespec = pathspec.PathSpec.from_lines('gitwildmatch', includes)
excludespec = pathspec.PathSpec.from_lines('gitwildmatch', excludes)
includespec = pathspec.PathSpec.from_lines("gitwildmatch", includes)
excludespec = pathspec.PathSpec.from_lines("gitwildmatch", excludes)
for item in filelist:
if includespec.match_file(item) and not excludespec.match_file(item):
valid.append(item)

View File

@ -17,4 +17,4 @@ deps =
ansibledevel: git+https://github.com/ansible/ansible.git
commands =
ansible-later --help
pytest tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail
pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail