summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-06-16 21:06:38 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-17 11:19:57 +0200
commit641071814ef1a54f435f6d88f4fffcb47a3d6b18 (patch)
treeee4f7d924831590187b845e5ea51075fb6f482a1
parent432cca1c7c3eb59a0d6b625835e5fa10833b2b25 (diff)
downloadqutebrowser-641071814ef1a54f435f6d88f4fffcb47a3d6b18.tar.gz
qutebrowser-641071814ef1a54f435f6d88f4fffcb47a3d6b18.zip
Fix lint
(cherry picked from commit 3b815258265f2dfb5c4cb46c3bbb7adff43ef82b)
-rwxr-xr-xscripts/dev/build_release.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py
index f7efd7f28..ac0f6b7f7 100755
--- a/scripts/dev/build_release.py
+++ b/scripts/dev/build_release.py
@@ -48,9 +48,6 @@ from scripts import utils
from scripts.dev import update_3rdparty, misc_checks
-SCRIPTS_PATH = REPO_ROOT / "scripts"
-
-
@dataclasses.dataclass
class Artifact:
@@ -352,8 +349,8 @@ def build_mac(
utils.print_title("Running smoke test")
try:
- with tempfile.TemporaryDirectory() as tmpdir:
- tmp_path = pathlib.Path(tmpdir)
+ with tempfile.TemporaryDirectory() as tmp:
+ tmp_path = pathlib.Path(tmp)
subprocess.run(['hdiutil', 'attach', dmg_path,
'-mountpoint', tmp_path], check=True)
try: