forked from empicano/aiomqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
116 lines (107 loc) · 3.05 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
[build-system]
requires = ["setuptools >= 65", "setuptools-scm >= 7"]
build-backend = "setuptools.build_meta"
[project]
name = "asyncio_mqtt"
description = "Idiomatic asyncio wrapper around paho-mqtt"
readme = "README.md"
authors = [{ name = "Frederik Aalund", email = "fpa@sbtinstruments.com" }]
maintainers = [
{ name = "Jonathan Plasse", email = "jonathan.plasse@live.fr" },
{ name = "Felix Böhm", email = "felix@felixboehm.dev" },
]
keywords = ["mqtt", "async", "asyncio", "paho-mqtt", "wrapper"]
license = { text = "BSD 3-Clause License" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
requires-python = ">= 3.7"
dependencies = [
"paho-mqtt>=1.6.0",
"typing_extensions>=4.4.0; python_version<'3.10'",
]
dynamic = ["version"]
[project.urls]
"Source code" = "https://github.com/sbtinstruments/asyncio-mqtt"
"Issue tracker" = "https://github.com/sbtinstruments/asyncio-mqtt/issues"
[project.optional-dependencies]
lint = ["mypy>=0.991", "ruff>=0.0.158", "types-paho-mqtt>=1.6.0.1"]
format = ["black>=22.10.0"]
tests = ["pytest>=7.2.0", "pytest-cov>=4.0.0", "anyio>=3.6.2"]
docs = ["sphinx>=5.3.0", "furo>=2022.9.29", "sphinx-autobuild>=2021.3.14", "myst-parser>=0.18.1", "sphinx-copybutton>=0.5.1"]
[tool.setuptools]
packages = ["asyncio_mqtt"]
[tool.setuptools_scm]
write_to = "asyncio_mqtt/_version.py"
[tool.ruff]
select = [
"A", # builtins
"B", # bugbear
"C4", # comprehensions
"C90", # mccabe
"D", # docstring
"E", # style errors
"F", # flakes
"I", # import sorting
"N", # naming
"PGH", # pygrep-hooks
"PLC", # pylint convention
"PLE", # pylint error
"PLR", # pylint refactor
"PLW", # pylint warning
"Q", # quotes
"RET", # return
"RUF", # ruff
"S", # bandit
"T10", # debugger
"T20", # print
"UP", # upgrade
"W", # style warnings
"YTT", # sys.version
]
ignore = [
"D10", # Missing docstring
"D203", # PEP8 docstring convention
"D212",
"D213",
"D214",
"D215",
"D404",
"D405",
"D406",
"D407",
"D408",
"D409",
"D410",
"D411",
"D413",
"D415",
"D416",
"D417",
"E501", # Line too long
"S101", # Use of `assert` detected
]
[tool.mypy]
strict = true
show_error_codes = true
no_strict_concatenate = true # TODO: remove when dropping python 3.7
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:ssl.PROTOCOL_TLS is deprecated:DeprecationWarning",
]
[tool.coverage.run]
branch = true