Skip to content

Commit 328b812

Browse files
committed
Properly escape \d
This raises a SyntaxWarning on new-enough Python versions.
1 parent 40b0a8f commit 328b812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
105105

106106
linkcheck_ignore = [
107-
"http://localhost:\d+",
107+
"http://localhost:\\d+",
108108
"https://test.pypi.org/project/example-package-YOUR-USERNAME-HERE",
109109
"https://pypi.org/manage/*",
110110
"https://test.pypi.org/manage/*",

0 commit comments

Comments
 (0)