Update no-unwanted-files sanity test.

This prepares for an additional path to be present after migration.
pull/68023/head
Matt Clay 6 years ago
parent b26ceb57ce
commit f963c8ca3d

@ -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…
Cancel
Save