mirror of
https://github.com/godotengine/godot-editor-l10n.git
synced 2025-12-31 17:48:32 +03:00
Merge pull request #21 from timothyqiu/exclude-tests
Exclude `tests` folder from string extraction
This commit is contained in:
@@ -113,7 +113,7 @@ class PropertyNameProcessor:
|
||||
def get_source_files() -> List[str]:
|
||||
matches = []
|
||||
for root, dirnames, filenames in os.walk("."):
|
||||
dirnames[:] = [d for d in dirnames if d not in ["thirdparty"]]
|
||||
dirnames[:] = [d for d in dirnames if d not in ["tests", "thirdparty"]]
|
||||
for filename in fnmatch.filter(filenames, "*.cpp"):
|
||||
matches.append(os.path.join(root, filename))
|
||||
for filename in fnmatch.filter(filenames, "*.h"):
|
||||
|
||||
Reference in New Issue
Block a user