@@ -4,18 +4,17 @@ build-backend = "pdm.backend"
44
55[project ]
66name = " getmac"
7- dynamic = [" version" ] # , "readme"
7+ dynamic = [" version" ]
88description = " Platform-independent pure-Python module to get a MAC address"
99dependencies = []
1010readme = " README.md"
11- # readme = { file = "README.md", content-type = "text/markdown" }
1211authors = [
1312 {name = " Christopher Goes" , email = " ghostofgoes@gmail.com" },
1413]
1514maintainers = [
1615 {name = " Christopher Goes" , email = " ghostofgoes@gmail.com" },
1716]
18- license = { file = " LICENSE" } # text = "MIT"
17+ license = { file = " LICENSE" }
1918requires-python = " <4.0,>=3.8"
2019classifiers = [
2120 " Development Status :: 5 - Production/Stable" ,
@@ -89,14 +88,16 @@ test = [
8988 " pytest-xdist" ,
9089 " psutil" ,
9190 " pygments<3.0,>=2.13" ,
91+ # TODO: pytest-sugar
9292]
9393lint = [
9494 " codespell>=2.2.4" ,
9595 " tomli; python_version < \" 3.12\" " ,
9696 " ruff" ,
9797 " vulture" ,
98- " black<24.0.0,>=23.3.0 " ,
98+ " black" ,
9999 " mypy<2.0.0,>=1.3.0" ,
100+ " isort" ,
100101]
101102docs = [
102103 " furo; python_version >= \" 3.10\" " ,
@@ -145,8 +146,8 @@ cmd = "vulture --min-confidence 100 getmac tests"
145146[tool .pdm .scripts .check_format ]
146147help = " Check code formatting is correct"
147148composite = [
149+ " isort --check getmac tests" ,
148150 " black --check getmac tests" ,
149- # TODO: isort
150151]
151152
152153[tool .pdm .scripts .typing ]
@@ -166,8 +167,8 @@ composite = [
166167[tool .pdm .scripts .format ]
167168help = " Auto-format code to match requirements"
168169composite = [
170+ " isort getmac tests" ,
169171 " black getmac tests" ,
170- # TODO: isort
171172]
172173
173174[tool .pdm .scripts .benchmark ]
@@ -276,3 +277,6 @@ ignore = [
276277
277278[tool .ruff .lint .per-file-ignores ]
278279"tests/*.py" = [" ANN001" , " ANN002" , " ANN003" , " ANN201" , " ANN202" , " S101" , " S104" , " S603" ]
280+
281+ [tool .isort ]
282+ profile = " black"
0 commit comments