diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-15 14:02:37 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-17 18:52:12 +0100 |
commit | b246fb383b48e88e38f979f0026c4772a6e1c3f2 (patch) | |
tree | e2b4e755581ff5e0c494beeb9405c83fdacf89b3 | |
parent | e71be7ffc47fc5594ae558754a12ce5f26d1236b (diff) | |
download | qutebrowser-b246fb383b48e88e38f979f0026c4772a6e1c3f2.tar.gz qutebrowser-b246fb383b48e88e38f979f0026c4772a6e1c3f2.zip |
Improve joinpath regex
joinpath is still useful with a list of args
(cherry picked from commit ed20af9828f609449afdf64dacf152da5924f6cb)
-rw-r--r-- | scripts/dev/misc_checks.py | 2 |
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", ), ( |