This repository was archived by the owner on Feb 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (84 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
100 lines (84 loc) · 2.31 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
authors = ["Ely Deckers"]
classifiers = [
"Environment :: Console",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
]
description = "Monitor your Philips Hue network"
documentation = "https://github.com/edeckers/huemon"
homepage = "https://github.com/edeckers/huemon"
include = ["LICENSE"]
keywords = ["Hue", "Monitoring", "Zabbix", "Zigbee"]
license = "MPL-2.0"
maintainers = ["Ely Deckers"]
name = "huemon"
readme = "README.md"
repository = "https://github.com/edeckers/huemon.git"
version = "2.0.4"
[tool.poetry.dependencies]
fastapi = "^0.115.6"
pyella = "^3.1.0"
python = "^3.9"
PyYAML = "^6.0"
types-PyYAML = "^6.0.4"
uvicorn = "^0.17.5"
[tool.poetry.dev-dependencies]
black = "^24.10.0"
bandit = "^1.7"
coverage = { extras = ["toml"], version = "^6.3.2" }
isort = "^5.12.0"
mypy = "^1.0.0"
nox = "^2022.1.7"
pre-commit = "^2.17"
pre-commit-hooks = "^4.1"
pytest = "^7"
pytest-cov = "^4"
python-semantic-release = "^8.0.8"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(name)s: %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.coverage.report]
show_missing = true
fail_under = 90
[tool.coverage.html]
directory = "reports/coverage/html"
[tool.coverage.xml]
output = "reports/coverage/coverage.xml"
[tool.semantic_release]
build_command = "poetry build"
commit_message = "chore: release {version}"
version_toml = ["pyproject.toml:tool.poetry.version"]
[tool.semantic_release.branches.develop]
match = "develop"
[tool.bandit]
assert_used = { skips = ["**/test_*.py"] }
[tool.black]
target-version = ["py312"]
[tool.isort]
profile = "black"
[tool.pylint.BASIC]
good-names = "log"
[tool.pylint.MASTER]
disable = [
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
"R0801", # duplicate-code
"W0511", # fixme
]
[tool.pylint.pre-commit-hook]
limit = 10
[tool.mypy]
strict = true