summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-15 14:02:37 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-15 14:04:19 +0100
commited20af9828f609449afdf64dacf152da5924f6cb (patch)
treec18d8949ee95314e050722fa048e2a7137872668
parent23810876e408253aee8ba19082abd7f07ec7925d (diff)
downloadqutebrowser-ed20af9828f609449afdf64dacf152da5924f6cb.tar.gz
qutebrowser-ed20af9828f609449afdf64dacf152da5924f6cb.zip
Improve joinpath regex
joinpath is still useful with a list of args
-rw-r--r--scripts/dev/misc_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py
index 3a93b05e1..4c913cd3d 100644
--- a/scripts/dev/misc_checks.py
+++ b/scripts/dev/misc_checks.py
@@ -249,7 +249,7 @@ def check_spelling(args: argparse.Namespace) -> Optional[bool]:
"use snake-case instead",
),
(
- re.compile(r'\.joinpath\('),
+ re.compile(r'\.joinpath\((?!\*)'),
"use the / operator for joining paths",
),
(