forked from zero-udo/eurotronic-cometblue
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
84 lines (75 loc) · 2.28 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
[project]
name = "eurotronic-cometblue-ha"
description = "Python client for Eurotronic GmbH BLE Comet (and rebranded) Radiator TRVs."
dynamic = ["version"]
readme = "README.md"
authors = [
{name = "Johannes Rottler", email = "johannes@rottler.me"},
{name = "Richard Kroegel", email = "rikroe@users.noreply.github.com"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
]
requires-python = ">=3.10, <4.0"
dependencies = [
"bleak",
"bleak-retry-connector",
]
license = "MIT"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"
[project.urls]
Source = "https://github.com/rikroe/eurotronic-cometblue"
[dependency-groups]
dev = [
"ruff>=0.12.12",
]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"ASYNC", # flake8-async
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"C90", # complexity
# "D", # docstrings
"E", # pycodestyle
"F", # pyflakes/autoflake
"FLY", # flynt
"FURB", # refurb
"I", # isort
"N", # pep8-naming
"PGH004", # Use specific rule codes when using noqa
"PL", # pylint
"RUF", # ruff
"SIM", # flake8-simplicity
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = [
"D202", # No blank lines allowed after function docstring
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D100", # Missing docstring in public module
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
"PLR0913", # Too many arguments in function definition
"PLR2004", # Magic value used in comparison
"PLW1641", # Object does not implement `__hash__` method
]
[tool.ruff.lint.mccabe]
max-complexity = 30