-
Notifications
You must be signed in to change notification settings - Fork 68
/
pyproject.toml
103 lines (92 loc) · 2.68 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 = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "denonavr"
version = "1.0.2-dev"
authors = [{name = "Oliver Goetz", email = "[email protected]"}]
license = {text = "MIT"}
description = "Automation Library for Denon AVR receivers"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Home Automation",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.7"
dependencies = [
"asyncstdlib>=3.10.2",
"attrs>=21.2.0",
"defusedxml>=0.7.1",
"ftfy>=6.1.1",
"httpx>=0.23.1",
"netifaces>=0.11.0",
'async-timeout>=4.0.2; python_version < "3.11"',
]
[project.readme]
file = "README.md"
content-type = "text/markdown; charset=UTF-8"
[project.urls]
Homepage = "https://github.com/ol-iver/denonavr"
Source = "https://github.com/ol-iver/denonavr"
Tracker = "https://github.com/ol-iver/denonavr/issues"
[project.optional-dependencies]
testing = [
"pydocstyle",
"pylint",
"pytest",
"pytest-cov",
"pytest-timeout",
"pytest-asyncio",
"pytest-httpx",
"flake8-docstrings",
"flake8",
]
[tool.setuptools]
zip-safe = false
platforms = ["any"]
license-files = ["LICENSE"]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["tests"]
namespaces = false
[tool.isort]
profile = "black"
[tool.pylint.exceptions]
overgeneral-exceptions = ["builtins.BaseException", "builtins.Exception"]
[tool.pylint.format]
max-line-length = "88"
[tool.pylint."messages control"]
# Reasons disabled:
# abstract-method - with intro of async there are always methods missing
# consider-using-f-string - not considered yet
# cyclic-import - doesn't test if both import on load
# duplicate-code - unavoidable
# too-many-* - are not enforced for the sake of readability
# too-few-* - same as too-many-*
# unused-argument - generic callbacks and setup methods create a lot of warnings
disable = [
"abstract-method",
"consider-using-f-string",
"cyclic-import",
"duplicate-code",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"unused-argument",
]