mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add pep8 to ansible-test. (#20745)
The rule sets and legacy file list are a first draft. It is likely that they will need to be revised.
This commit is contained in:
@@ -284,6 +284,9 @@ def walk_test_targets(path=None, module_path=None, extensions=None, prefix=None)
|
||||
if root.endswith('/__pycache__'):
|
||||
continue
|
||||
|
||||
if '/.tox/' in root:
|
||||
continue
|
||||
|
||||
if path is None:
|
||||
root = root[2:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user