|
|
|
|
|
|
asset_paths = ["Project/Assets", "com.unity.ml-agents"] |
|
|
|
meta_suffix = ".meta" |
|
|
|
python_suffix = ".py" |
|
|
|
whitelist = frozenset( |
|
|
|
allow_list = frozenset( |
|
|
|
[ |
|
|
|
"com.unity.ml-agents/.editorconfig", |
|
|
|
"com.unity.ml-agents/.gitignore", |
|
|
|
|
|
|
continue |
|
|
|
|
|
|
|
full_path = os.path.join(root, f) |
|
|
|
if full_path in whitelist: |
|
|
|
if full_path in allow_list: |
|
|
|
continue |
|
|
|
|
|
|
|
# We expect each non-.meta file to have a .meta file, and each .meta file to have a non-.meta file |
|
|
|