Skip to content

Commit 4b7fbf1

Browse files
authored
Update create issues script (#78)
1 parent 66af168 commit 4b7fbf1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/create_issues.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,22 @@
6060
GITHUB_SEVERITY_MAJOR_LABEL = "severity/major"
6161
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
6262
PYTHON_VERSION = os.getenv("PYTHON_VERSION", "3.12")
63-
REQUIRED_DIRS = ["tutorial/", "library/stdtypes", "library/functions"]
63+
REQUIRED_DIRS = [
64+
"tutorial/",
65+
"library/stdtypes.po",
66+
"library/functions.po",
67+
]
6468

6569

6670
def get_filenames() -> list[str]:
6771
filenames = []
6872
current_path = Path.cwd()
6973
base_path = os.getcwd()
7074
for path, _, files in os.walk(current_path):
75+
76+
if "venv" in path:
77+
continue
78+
7179
for name in files:
7280
if name.endswith(".po"):
7381
filenames.append(os.path.join(path, name).replace(f"{base_path}/", ""))

0 commit comments

Comments
 (0)