Skip to content

Commit cbc4145

Browse files
committed
ci: Improve GWL(P)_WNDPROC exclusions
1 parent 7480b0e commit cbc4145

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/pr_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ def validate_specific_keywords(path: Path):
941941
if re.search(pattern, line):
942942
# Skip GWL(P)_WNDPROC when used with GetWindowLong(Ptr)
943943
if word in ('GWL_WNDPROC', 'GWLP_WNDPROC') and re.search(
944-
r'GetWindowLong(Ptr)?\s*\([^,]+,\s*GWLP?_WNDPROC\s*\)', line
944+
r'GetWindowLong(Ptr)?[AW]?\s*\([^,]+,\s*GWLP?_WNDPROC\s*\)', line
945945
):
946946
continue
947947

0 commit comments

Comments
 (0)