mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-02 08:29:51 +02:00
fix linting
This commit is contained in:
parent
adf25851dc
commit
80ea191fa1
|
@ -164,8 +164,8 @@ class Settings(object):
|
||||||
os.path.relpath(os.path.normpath(os.path.join(root, filename))))
|
os.path.relpath(os.path.normpath(os.path.join(root, filename))))
|
||||||
|
|
||||||
valid = []
|
valid = []
|
||||||
includespec = pathspec.PathSpec.from_lines('gitwildmatch', includes)
|
includespec = pathspec.PathSpec.from_lines("gitwildmatch", includes)
|
||||||
excludespec = pathspec.PathSpec.from_lines('gitwildmatch', excludes)
|
excludespec = pathspec.PathSpec.from_lines("gitwildmatch", excludes)
|
||||||
for item in filelist:
|
for item in filelist:
|
||||||
if includespec.match_file(item) and not excludespec.match_file(item):
|
if includespec.match_file(item) and not excludespec.match_file(item):
|
||||||
valid.append(item)
|
valid.append(item)
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -17,4 +17,4 @@ deps =
|
||||||
ansibledevel: git+https://github.com/ansible/ansible.git
|
ansibledevel: git+https://github.com/ansible/ansible.git
|
||||||
commands =
|
commands =
|
||||||
ansible-later --help
|
ansible-later --help
|
||||||
pytest tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail
|
pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail
|
||||||
|
|
Loading…
Reference in New Issue
Block a user