-
Notifications
You must be signed in to change notification settings - Fork 91
/
pyproject.toml
120 lines (110 loc) · 3.03 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[tool.poetry]
name = "PyViCare"
version = "0.1.0"
description = "Library to communicate with the Viessmann ViCare API."
authors = [
"Simon Gillet <mail+pyvicare@gillet.ninja>"
]
maintainers = [
"Christopher Fenner <fenner.christopher@gmail.com>",
"Martin",
"Lukas Wöhrl",
]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/openviess/PyViCare"
repository = "https://github.com/openviess/PyViCare"
documentation = "https://github.com/openviess/PyViCare"
keywords = [
"viessmann",
"vicare",
"api"
]
classifiers = [
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
]
packages = [
{ include = "PyViCare", from = "." },
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/openviess/PyViCare/issues"
Changelog = "https://github.com/openviess/PyViCare/releases"
[tool.poetry.dependencies]
authlib = ">1.2.0"
python = "^3.9"
requests = ">=2.31.0"
[tool.poetry.group.dev.dependencies]
codespell = "^2.3.0"
mypy = "^1.11.2"
pylint = "^3.2.6"
pytest = "^8.3.2"
pytest-cov = "^6.0.0"
ruff = "^0.7.0"
types-requests = ">=2.31"
[tool.mypy]
# Specify the target platform details in config, so your developers are
# free to run mypy on Windows, Linux, or macOS and get consistent
# results.
platform = "linux"
python_version = "3.11"
# show error messages from unrelated files
follow_imports = "normal"
# suppress errors about unsatisfied imports
ignore_missing_imports = true
# be strict
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
strict_optional = true
warn_incomplete_stub = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "authlib.*"
ignore_missing_imports = true
[tool.pylint."MESSAGES CONTROL"]
disable = [
"duplicate-code",
"fixme",
"line-too-long",
"invalid-name",
"too-many-public-methods",
"too-few-public-methods",
# FIXME:
"arguments-differ",
"attribute-defined-outside-init",
"bad-classmethod-argument",
"chained-comparison",
"consider-merging-isinstance",
"consider-using-dict-items",
"consider-using-generator",
"deprecated-decorator",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"missing-timeout",
"raise-missing-from",
"unspecified-encoding",
"useless-object-inheritance",
"useless-parent-delegation",
]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]