docs(ci): record run 88 and narrow transitive override parser
This commit is contained in:
1 parent
66cfed5a8b
commit
7655dbdcb4
20 files changed
+67
-16
No files matched your search
@@ -27,7 +27,7 @@ EXPECTED = {
|
||||
def overridden(data: str) -> dict[str, str]:
|
||||
found: dict[str, str] = {}
|
||||
for line in data.splitlines():
|
||||
match = re.match(r"^ ['\"]?([^'\"#][^:]*>[^:'\"]+)['\"]?: ['\"]?([^'\" #]+)", line)
|
||||
match = re.match(r"^ ['\"]?([^'\"#:]+>(?:glob|minimatch))['\"]?: ['\"]?([^'\" #]+)", line)
|
||||
if match:
|
||||
found[match.group(1)] = match.group(2).rstrip("'\":")
|
||||
return found
|
||||
|
||||
Reference in new issue
Block a user