-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (57 loc) · 1.66 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "py-air-control-exporter"
version = "0.4.0"
description = "Exports air quality metrics to Prometheus"
authors = [
{ name = "Matej Urbas", email = "matej.urbas@gmail.com" },
]
license = { text = "MIT license" }
readme = "README.md"
requires-python = ">=3.11"
keywords = ["py-air-control-exporter", "py-air-control", "prometheus", "exporter"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: System :: Monitoring",
]
dependencies = [
"aiocoap>=0.4.0",
"click>=7.0.0",
"Flask>=1.0.0",
"prometheus_client>=0.8.0",
"py-air-control>=2.0.0",
"PyYAML>=6.0.0",
]
[project.scripts]
py-air-control-exporter = "py_air_control_exporter.main:main"
[project.urls]
Homepage = "https://github.com/urbas/py-air-control-exporter"
[tool.ruff]
line-length = 88
lint.select = ["I", "ALL"]
lint.ignore = [
"ANN", # Missing type annotation
"BLE", # blind exception
"COM812", # Trailing comma missing
"D", # pydocstyle
"INP", # implicit-namespace-packagepydocstyle
"ISC001", # Implicitly concatenated string literals on one line
"S101", # Use of `assert` detected
"PLR2004", # magic value in comparison
"TRY400", # use logging.exception
]
[tool.hatch.build.targets.wheel]
packages = ["py_air_control_exporter"]
[tool.hatch.build.targets.sdist]
include = [
"py_air_control_exporter",
"test",
"CHANGELOG.md",
]