-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (78 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (78 loc) · 2.22 KB
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
[project]
name = "keba-modbus-client"
version = "0.2.0"
description = "Python client library for communicating with KEBA KeContact wallboxes via Modbus TCP"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Christian Froemmel", email = "senfomat@gmail.com" },
]
keywords = ["keba", "kecontact", "wallbox", "modbus", "modbus-tcp", "ev-charging"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Home Automation",
"Topic :: System :: Hardware",
"Typing :: Typed",
]
dependencies = [
"pymodbus>=3.15",
"pydantic>=2",
"pydantic-settings>=2",
]
[project.urls]
Homepage = "https://github.com/senfomat/PythonKebaClient"
"Bug Tracker" = "https://github.com/senfomat/PythonKebaClient/issues"
[project.optional-dependencies]
examples = ["click>=8"]
[dependency-groups]
dev = ["pytest>=8"]
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.ruff.format]
preview = false
[tool.ruff.lint]
preview = true
select = ["ALL"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = [
"complex-structure",
"missing-trailing-comma",
"CPY",
"call-datetime-now-without-tzinfo",
"call-datetime-strptime-without-zone",
"line-too-long",
"commented-out-code",
"line-contains-todo",
"PLR",
"TC",
"blind-except",
"D",
"hardcoded-bind-all-interfaces",
"print",
]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["undefined-local-with-import-star"]
"tests/*" = ["assert"]
"examples/*" = ["D", "print"]