-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.35 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
[tool.poetry]
name = "glances_api"
version = "0.9.0"
description = "Python API for interacting with Glances"
authors = ["Fabian Affolter <[email protected]>"]
homepage = "https://github.com/home-assistant-ecosystem/python-glances-api"
repository = "https://github.com/home-assistant-ecosystem/python-glances-api/releases"
readme = "README.rst"
license = "MIT"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
python = "^3.11"
httpx = ">=0.23,<1"
[tool.poetry.dev-dependencies]
black = "^24.3"
pytest = "^8"
pytest-httpx = ">0.15,<1"
pytest-asyncio = "^0.16.0"
isort = "^5.10.0"
mypy = "^0.971"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
mypy_path = "glances_api/"
no_implicit_optional = true
show_error_codes = true
warn_unreachable = true
warn_unused_ignores = true
exclude = [
'pyproject.toml',
]
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
[[tool.mypy.overrides]]
module = "docs.*"
ignore_errors = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"