-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (111 loc) · 2.91 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (111 loc) · 2.91 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
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
121
122
123
124
125
[build-system]
requires = ["setuptools>=61.2", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "masterthermconnect"
version = "0.0.0"
description = "Python 3 API wrapper for Mastertherm API & Local Bus"
readme = "README.md"
authors = [{ name = "Richard Holmes", email = "richard@shedc.uk" }]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["Mastertherm heatpump", "local", "api", "client"]
dependencies = [
"aiohttp>=3.9.1",
"natsort>=8.4.0"
]
requires-python = ">=3.11,<3.14"
[project.optional-dependencies]
dev = ["black", "bumpver", "isort", "pip-tools", "pytest"]
[project.scripts]
masterthermconnect = "masterthermconnect.__main__:main"
[project.urls]
Homepage = "https://github.com/sHedC/python-masterthermconnect"
[tool.bumpver]
current_version = "0.0.0"
version_pattern = "MAJOR.MINOR.PATCH[-PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{pep440_version}"',
]
"masterthermconnect/__version__.py" = ["{pep440_version}"]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
indent = "\" \""
not_skip = ["__init__.py"]
force_sort_within_sections = true
sections = [
"FUTURE",
"STDLIB",
"INBETWEENS",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
default_section = "THIRDPARTY"
known_first_party = ["masterthermconnect", "tests"]
forced_separate = ["tests"]
combine_as_imports = true
profile = "black"
[tool.mypy]
python_version = "3.13"
ignore_errors = true
follow_imports = "silent"
ignore_missing_imports = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
show_error_codes = true
warn_unreachable = true
warn_unused_ignores = true
incremental = false
disallow_untyped_defs = true
check_untyped_defs = true
strict_equality = true
implicit_reexport = false
no_implicit_optional = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplemented()",
"if __name__ == '__main__':",
"main()",
]
show_missing = true
[tool.coverage.run]
source = ["masterthermconnect"]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
asyncio_mode = "auto"
minversion = "6.0"
testpaths = ["tests"]
addopts = "\n--strict-markers\n--cov=masterthermconnect\n--cov-report xml"
[tool.setuptools]
include-package-data = false
[tool.tox]
requires = ["tox>=4.26"]
env_list = ["3.13", "3.12", "3.11"]
[tool.tox.env_run_base]
description = "Run test under {base_python}"
deps = ["-r requirements.txt"]
commands = [
[
"pytest",
{ replace = "posargs", default = [
"--cov",
], extend = true },
],
]