Skip to content

Commit 157a546

Browse files
committed
style: removed unused imports
1 parent 01378f1 commit 157a546

File tree

5 files changed

+65
-9
lines changed

5 files changed

+65
-9
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ test:
1717
test-integration:
1818
python ./tests/integration_tests.py --no-modules
1919

20+
lint:
21+
poetry run flake8 aw_qt --ignore=E501,E302,E305,E231 --per-file-ignores="__init__.py:F401"
22+
2023
typecheck:
21-
mypy aw_qt --strict --pretty
24+
poetry run mypy aw_qt --strict --pretty
2225

2326
precommit:
2427
make typecheck

aw_qt/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import sys
22
import logging
3-
import argparse
43
import click
5-
from typing import List, Optional
6-
from typing_extensions import TypedDict
4+
from typing import Optional
75

86
from aw_core.log import setup_logging
97

aw_qt/manager.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
import os
2-
import platform
32
import sys
43
import logging
54
import subprocess
65
import shutil
76
from glob import glob
87
from time import sleep
9-
from typing import Optional, List, Dict, Set, Tuple
8+
from typing import Optional, List, Dict, Tuple
109

1110
import aw_core
1211

13-
from .config import AwQtSettings
14-
1512
logger = logging.getLogger(__name__)
1613

1714
_module_dir = os.path.dirname(os.path.realpath(__file__))

poetry.lock

Lines changed: 58 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ click = "^7.1.2"
2323
[tool.poetry.dev-dependencies]
2424
mypy = "^0.761"
2525
PyQt5-stubs = "~5.13" # Should ideally be ~5.10, but no such version exists
26+
flake8 = "^3.8.3"
2627

2728
[build-system]
2829
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)