Browse code

Update no-unwanted-files sanity test.

This prepares for an additional path to be present after migration.

Matt Clay authored on 2020/03/05 06:18:12
Showing 1 changed files
... ...
@@ -18,11 +18,18 @@ def main():
18 18
         '.py',
19 19
     )
20 20
 
21
+    skip_paths = set([
22
+        'lib/ansible/config/routing.yml',  # not included in the sanity ignore file since it won't exist until after migration
23
+    ])
24
+
21 25
     skip_directories = (
22 26
         'lib/ansible/galaxy/data/',
23 27
     )
24 28
 
25 29
     for path in paths:
30
+        if path in skip_paths:
31
+            continue
32
+
26 33
         if any(path.startswith(skip_directory) for skip_directory in skip_directories):
27 34
             continue
28 35