-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (87 loc) · 2.57 KB
/
pyproject.toml
File metadata and controls
98 lines (87 loc) · 2.57 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
[project]
name = "zmqtt"
version = "0.0.4"
description = "Pure asyncio MQTT 3.1.1/5.0 client library"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "borisalekseev", email = "i.borisalekseev@gmail.com" }
]
requires-python = ">=3.10"
dependencies = []
keywords = ["mqtt", "mqtt5", "iot", "python-mqtt", "zmqtt"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: AsyncIO",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/faststream-community/zMQTT"
Repository = "https://github.com/faststream-community/zMQTT"
Documentation = "https://faststream-community.github.io/zMQTT/"
Issues = "https://github.com/faststream-community/zMQTT/issues"
[build-system]
requires = ["uv_build>=0.9.7,<0.11.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"bandit>=1.9.4",
"mypy>=1.19.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.15.5",
"semgrep>=1.156.0",
"zizmor>=1.23.1",
{include-group = "docs"},
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.5",
"mkdocstrings[python]>=1.0.3",
]
[tool.mypy]
strict = true
files = ["src", "tests"]
python_version = "3.10"
[tool.ruff]
src = ["src"]
include = ["src/**.py", "tests/**.py"]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D", "COM812", "TC001"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "D", "PLR2004", "SLF001", "FBT001"]
"src/zmqtt/_internal/protocol.py" = ["SLF001", "PLR2004"]
"src/zmqtt/_internal/packets/codec.py" = ["PLR", "C901"]
"src/zmqtt/client.py" = ["PLR0913", "SLF001", "FBT"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--strict-markers"
log_cli_level = "DEBUG"
markers = [
"broker: requires a live MQTT broker (run with --broker or docker compose up artemis)",
]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
allow_zero_version = true
[tool.semantic_release.commit_parser_options]
minor_tags = []
major_tags = ["feat!"]
patch_tags = ["fix", "feat", "perf", "chore"]
[tool.semantic_release.branches.main]
match = "master"
prerelease_token = "alpha"
prerelease = false