Update no-unwanted-files sanity test.
This prepares for an additional path to be present after migration.
This commit is contained in:
parent
b26ceb57ce
commit
f963c8ca3d
1 changed files with 7 additions and 0 deletions
|
@ -18,11 +18,18 @@ def main():
|
|||
'.py',
|
||||
)
|
||||
|
||||
skip_paths = set([
|
||||
'lib/ansible/config/routing.yml', # not included in the sanity ignore file since it won't exist until after migration
|
||||
])
|
||||
|
||||
skip_directories = (
|
||||
'lib/ansible/galaxy/data/',
|
||||
)
|
||||
|
||||
for path in paths:
|
||||
if path in skip_paths:
|
||||
continue
|
||||
|
||||
if any(path.startswith(skip_directory) for skip_directory in skip_directories):
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue