Skip to content

Commit d00883d

Browse files
committed
black, meta
1 parent 614a659 commit d00883d

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- run: pip install .[lint]
1919

2020
- run: flake8
21-
- run: mypy . src
21+
- run: mypy

.mypy.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[mypy]
2+
files = src/
3+
24
ignore_missing_imports = True
35
strict_optional = False
46
allow_redefinition = True
57
show_error_context = False
6-
show_column_numbers = True
8+
show_column_numbers = True

setup.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ classifiers =
1515
Intended Audience :: System Administrators
1616
Operating System :: POSIX :: Linux
1717
Operating System :: Microsoft :: Windows
18-
Programming Language :: Python :: 3.7
19-
Programming Language :: Python :: 3.8
20-
Programming Language :: Python :: 3.9
18+
Programming Language :: Python :: 3
2119
Topic :: System :: Networking
2220
Topic :: Utilities
2321
license_files =

src/mozloc/netsh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get_signal() -> T.List[T.Dict[str, T.Any]]:
6666

6767

6868
def signal_percent_to_dbm(percent: int) -> int:
69-
""" arbitrary conversion factor from Windows WiFi signal % to dBm
69+
"""arbitrary conversion factor from Windows WiFi signal % to dBm
7070
assumes 100% is -30 dBm
7171
7272
Parameters

src/mozloc/tests/test_kml.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ def test_kml():
2525
(-122.203207, 37.374857, 140.199997),
2626
]
2727

28-
kml = simplekml.Kml(name="Tracks",)
28+
kml = simplekml.Kml(
29+
name="Tracks",
30+
)
2931
trk = kml.newgxtrack(name="test")
3032

3133
trk.newwhen(when)

src/mozloc/tests/test_netman.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.skipif(is_ci, reason="CI doesn't usually have WiFi")
88
def test_nm_loc():
99

10-
mozloc = pytest.importorskip('mozloc')
10+
mozloc = pytest.importorskip("mozloc")
1111
loc = mozloc.get_signal()
1212

1313
assert isinstance(loc, list)
@@ -18,5 +18,5 @@ def test_nm_loc():
1818
@pytest.mark.skipif(is_ci, reason="CI doesn't usually have WiFi")
1919
def test_nm_connection():
2020

21-
mozloc = pytest.importorskip('mozloc')
21+
mozloc = pytest.importorskip("mozloc")
2222
assert mozloc.cli_config_check()

0 commit comments

Comments
 (0)