Skip to content

Commit 1fc25d9

Browse files
authored
Merge pull request #296 from pre-commit/fix_escape_sequences
Fix invalid escape sequences
2 parents a193eab + 6239384 commit 1fc25d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre_commit_hooks/check_vcs_permalinks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
GITHUB_NON_PERMALINK = re.compile(
11-
b'https://github.com/[^/ ]+/[^/ ]+/blob/master/[^# ]+#L\d+',
11+
br'https://github.com/[^/ ]+/[^/ ]+/blob/master/[^# ]+#L\d+',
1212
)
1313

1414

0 commit comments

Comments
 (0)