-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
103 lines (87 loc) · 1.82 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = [
"hatchling>=1.3.1",
"hatch-vcs",
]
build-backend = "hatchling.build"
[project]
name = "iaqualink"
description = "Asynchronous library for Jandy iAqualink"
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.12"
authors = [
{ name = "Florent Thoumie", email = "[email protected]" },
]
keywords = [
"iaqualink",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"httpx[http2]>=0.27.0",
]
dynamic = [
"version",
]
[project.optional-dependencies]
dev = [
"pre-commit==3.8.0",
"mypy==1.11.1",
]
test = [
"coverage[toml]==7.6.0",
"pytest==8.3.2",
"pytest-cov==5.0.0",
"pytest-icdiff==0.9",
"pytest-sugar==1.0.0",
"respx==0.21.1",
]
[project.urls]
Homepage = "https://github.com/flz/iaqualink-py"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/iaqualink/version.py"
[tool.hatch.build.targets.sdist]
[tool.hatch.build.targets.wheel]
packages = ["src/iaqualink"]
[tool.hatch.envs.dev]
dependencies = [
"httpx[http2]",
]
features = ["dev", "test"]
[tool.hatch.envs.hatch-test]
extra-dependencies = [
"respx",
]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.12"]
[tool.ruff]
line-length = 80
[tool.ruff.lint]
ignore = [
"SLF001", # Some tests currently use private members
"G004", # Will fix all f-string logging calls later
]
[tool.coverage.run]
omit = [
".venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
]