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-15 14:04:19 +0100 |
commit | ed20af9828f609449afdf64dacf152da5924f6cb (patch) | |
tree | c18d8949ee95314e050722fa048e2a7137872668 | |
parent | 23810876e408253aee8ba19082abd7f07ec7925d (diff) | |
download | qutebrowser-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.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", ), ( |