From 45494fc74bc64bb128ee9994f7534760cc90be5d Mon Sep 17 00:00:00 2001 From: nour Date: Fri, 10 Oct 2025 06:29:55 +0300 Subject: [PATCH 1/2] bug: fix local variable scoping issue in test validate targets --- tests/test_validate_targets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_validate_targets.py b/tests/test_validate_targets.py index 4eb7ea167..33922c5e9 100644 --- a/tests/test_validate_targets.py +++ b/tests/test_validate_targets.py @@ -16,6 +16,7 @@ def set_pattern_upper_bound(pattern: str, upper_bound: int = FALSE_POSITIVE_QUAN """Set upper bound for regex patterns that use quantifiers such as `+` `*` or `{n,}`.""" def replace_upper_bound(match: re.Match) -> str: # type: ignore lower_bound: int = int(match.group(1)) if match.group(1) else 0 # type: ignore + nonlocal upper_bound upper_bound = upper_bound if lower_bound < upper_bound else lower_bound # type: ignore # noqa: F823 return f'{{{lower_bound},{upper_bound}}}' From fe9e750dab714b7b2113501d69b7b32fd8676c45 Mon Sep 17 00:00:00 2001 From: Aaditya <146899562+Aaditya-Chunekar@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:27:07 +0530 Subject: [PATCH 2/2] Add Credly data to JSON resource --- sherlock_project/resources/data.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sherlock_project/resources/data.json b/sherlock_project/resources/data.json index 498f1344e..e86dd6960 100644 --- a/sherlock_project/resources/data.json +++ b/sherlock_project/resources/data.json @@ -608,6 +608,12 @@ "urlMain": "https://cracked.sh/", "username_claimed": "Blue" }, + "Credly": { + "errorType": "status_code", + "url": "https://www.credly.com/users/{}", + "urlMain": "https://www.credly.com/", + "username_claimed": "credly" + }, "Crevado": { "errorType": "status_code", "regexCheck": "^[\\w@-]+?$",