-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (43 loc) · 1.23 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
[project]
name = 'mqtt-automator'
authors = [
{name = 'Oleg Strizhechenko', email = 'oleg.strizhechenko@gmail.com'},
]
version = 'v0.0.4'
readme = 'README.md'
requires-python = ">=3.11"
license = {file = "LICENSE"}
keywords = ["mqtt", "aiomqtt", "vakio", "lytko", "yeelink", "self-hosted"]
description = 'Simple smart-home automation system. Self-hosted, LAN only. Supports Vakio Lytko and Yeelink.'
dependencies = [
'PyYAML ~= 6.0.1',
'aiomqtt~=2.1.0',
'paho-mqtt~=2.1.0',
'pydantic~=2.7.1',
]
[project.scripts]
mqtt-automator = "mqtt_automator.automator:main_cli"
[project.optional-dependencies]
test = [
'pre-commit',
'pytest',
'pylint',
]
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--doctest-modules"
testpaths = [
"mqtt_automator",
"tests",
]
[tool.autopep8]
max_line_length = 120
[tool.pylint.'FORMAT']
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
# why C0111: because I think module/class docstrings are generally useless, naming should be the documentation
# why use-dict-literal: Empty dict literal may be confusing (set or dict?). Calling to dict is explicit.
disable = 'C0111,use-dict-literal'