-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (43 loc) · 1.05 KB
/
pyproject.toml
File metadata and controls
51 lines (43 loc) · 1.05 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
[project]
name = "computer2mqtt"
version = "0.1.4"
description = "This project is a multi-system and multi-OS adaptation of mac2mqtt. It allows you to execute any command on your system, providing endless possibilities for automation and control."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiomqtt>=2.3.0",
"click>=8.1.7",
"pyyaml>=6.0.2",
]
[project.optional-dependencies]
dev = [
"ruff>=0.6.3",
"prek>=0.3.4",
"pytest",
"pytest-asyncio<0.23",
"pytest-cov",
]
[tool.pyright]
typeCheckingMode = "strict"
venvPath = "."
venv = ".venv"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.isort]
profile = "black"
src_paths = "tests"
line_length = 80
include_trailing_comma = true
multi_line_output = 3
[tool.ruff]
select = ["E", "F", "B"]
exclude = ["__pycache__", "terraform", ".git", ".venv"]
ignore = ["E501"]
[project.scripts]
computer2mqtt = "computer2mqtt:sync_main"
c2m = "computer2mqtt:sync_main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"