Skip to content

Commit 65dd896

Browse files
committed
Change project's own tasks.py to use raw string
Avoids SyntaxWarning on modern Pythons
1 parent 62003bf commit 65dd896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def regression(c: "Context", jobs: int = 8) -> None:
126126
# Skip vendor, build dirs when blackening.
127127
# TODO: this is making it seem like I really do want an explicit
128128
# arg/conf-opt in the blacken task for "excluded paths"...ha
129-
"find_opts": "-and -not \( -path './invoke/vendor*' -or -path './build*' \)" # noqa
129+
r"find_opts": "-and -not \\( -path './invoke/vendor*' -or -path './build*' \\)" # noqa
130130
},
131131
"packaging": {
132132
"wheel": True,

0 commit comments

Comments
 (0)