Skip to content

Commit 7603838

Browse files
committed
Exclude github pull requests from check
1 parent d8763a7 commit 7603838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/check-urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ class Curl:
4545
"https://dashboard.aspose.cloud/applications": (Curl.HTTP_RETURNED_ERROR, 404),
4646
}
4747

48-
REGEX_TO_IGNORE: list[re.Pattern] = [
49-
re.compile(r"^https://github\.com/(?P<user>[^/]+)/(?P<repo>[^/]+)/(?:blob|issues|pull)/.+$"),
48+
REGEX_TO_IGNORE: list[re.Pattern[str]] = [
49+
re.compile(r"^https://github\.com/(?P<user>[^/]+)/(?P<repo>[^/]+)/(?:blob|issues)/\S+$"),
5050
]
5151

5252
URLS_TO_IGNORE: frozenset[str] = frozenset(

0 commit comments

Comments
 (0)