Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5c73a commit 2c0bed1Copy full SHA for 2c0bed1
1 file changed
python/ql/src/meta/ClassHierarchy/process-mrva-results.py
@@ -9,6 +9,7 @@
9
import yaml
10
import shutil
11
import os
12
+import re
13
14
VERSION = "process-mrva-results 0.0.1"
15
@@ -104,6 +105,10 @@ def gather_from_existing():
104
105
gather_from_bqrs_results()
106
107
for pkg in package_data:
108
+ if not re.match(r"[a-zA-Z0-9-_]+", pkg):
109
+ print(f"Skipping {repr(pkg)}")
110
+ continue
111
+
112
pkg_path = mad_path / f"auto-{pkg}.model.yml"
113
114
print(f"Writing {pkg_path}")
0 commit comments