From a2c647728472d1b68aec385c05080c6f3c674dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 3 Jan 2023 00:50:21 +0100 Subject: cq: Sort imports with isort --- win/misc/create-launcher.py | 6 +++--- win/misc/depcheck.py | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'win') diff --git a/win/misc/create-launcher.py b/win/misc/create-launcher.py index 2a1f6fcc8..cf4475cba 100755 --- a/win/misc/create-launcher.py +++ b/win/misc/create-launcher.py @@ -13,12 +13,12 @@ import os -import sys -import subprocess import shlex -import tempfile import shutil import struct +import subprocess +import sys +import tempfile def build_resource(rc_path: str, out_path: str) -> None: diff --git a/win/misc/depcheck.py b/win/misc/depcheck.py index cdef03272..830870779 100644 --- a/win/misc/depcheck.py +++ b/win/misc/depcheck.py @@ -9,13 +9,15 @@ # Deletes unneeded DLLs and checks DLL dependencies. -import subprocess +from typing import Optional + +import logging import os +import subprocess import sys -import logging -from typing import Optional import gi + gi.require_version('GIRepository', '2.0') from gi.repository import GIRepository # noqa: E402 -- cgit v1.2.3