-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (60 loc) · 1.49 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[project]
name = "eh-fifty"
dependencies = [
"pyusb>=1.2.1,<2",
"simple-hexdump==0.0.1",
]
authors = [
{ name="Tom Dryer", email="tomdryer.com@gmail.com" },
]
description = "Library for configuring the Astro A50 wireless headset and base station (generation 4)"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/tdryer/eh-fifty"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "eh_fifty.py"
[tool.hatch.envs.default]
dependencies = [
"black",
"isort",
"mypy",
"pylint",
"pytest",
]
[tool.hatch.envs.default.scripts]
check-isort = "isort --check eh_fifty.py tests.py"
check-black = "black --check eh_fifty.py tests.py"
check-pylint = "pylint eh_fifty.py tests.py"
check-mypy = "mypy --no-error-summary eh_fifty.py tests.py"
check = [
"check-isort",
"check-black",
"check-pylint",
"check-mypy",
]
test = "pytest --verbose tests.py {args:.}"
clean = "rm -rf venv __pycache__ *.egg-info dist .mypy_cache .pytest_cache"
[tool.pylint.'MESSAGES CONTROL']
disable = ["fixme", "too-many-public-methods"]
[tool.pylint.REPORTS]
score = "no"
[tool.isort]
profile = "black"
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "usb.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "hexdump"
ignore_missing_imports = true