-
Notifications
You must be signed in to change notification settings - Fork 724
/
pyproject.toml
146 lines (131 loc) · 2.81 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "paho-mqtt"
dynamic = ["version"]
description = "MQTT version 5.0/3.1.1 client class"
readme = "README.rst"
# see https://lists.spdx.org/g/Spdx-legal/topic/request_for_adding_eclipse/67981884
# for why Eclipse Distribution License v1.0 is listed as BSD-3-Clause
license = { text = "EPL-2.0 OR BSD-3-Clause" }
requires-python = ">=3.7"
authors = [
{ name = "Roger Light", email = "[email protected]" },
]
keywords = [
"paho",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Communications",
"Topic :: Internet",
]
dependencies = []
[project.optional-dependencies]
proxy = [
"PySocks",
]
[project.urls]
Homepage = "http://eclipse.org/paho"
[tool.coverage.report]
exclude_also = [
"@(abc\\.)?abstractmethod",
"def __repr__",
"except ImportError:",
"if TYPE_CHECKING:",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.hatch.build.targets.sdist]
include = [
"src/paho",
"/examples",
"/tests",
"about.html",
"CONTRIBUTING.md",
"edl-v10",
"epl-v20",
"LICENSE.txt",
"notice.html",
"README.rst",
]
[tool.hatch.build.targets.wheel]
sources = ["src"]
include = [
"src/paho",
]
[tool.hatch.version]
path = "src/paho/mqtt/__init__.py"
[tool.mypy]
[[tool.mypy.overrides]]
module = "paho.mqtt.client"
# check_untyped_defs = true
# disallow_untyped_calls = true
# disallow_incomplete_defs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = ["-r", "xs"]
testpaths = "tests src"
filterwarnings = [
"ignore:Callback API version 1 is deprecated, update to latest version"
]
[tool.ruff]
exclude = ["test/lib/python/*"]
extend-select = [
"B",
"C4",
"E",
"E9",
"F63",
"F7",
"F82",
"FLY", # flynt
"I",
"ISC",
"PERF",
"S", # Bandit
"UP",
"RUF",
"W",
]
ignore = []
line-length = 167
[tool.ruff.per-file-ignores]
"examples/**/*.py" = [
"B",
"E402",
"E711",
"E741",
"F401",
"F811",
"F841",
"I",
"PERF",
"S",
"UP",
]
"tests/**/*.py" = [
"F811",
"PERF203",
"S101",
"S105",
"S106",
]
[tool.typos.default.extend-words]
Mosquitto = "Mosquitto"
[tool.typos.type.sh.extend-words]
# gen.sh use the openssl option pass(word) in
passin = "passin"