-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
91 lines (80 loc) · 1.97 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
[tool.poetry]
name = "alga"
version = "2.0.0"
description = "CLI for remote controlling LG webOS TVs"
authors = ["Jeppe Fihl-Pearson <[email protected]>"]
license = "MIT"
repository = "https://github.com/Tenzer/alga"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Home Automation",
"Topic :: Multimedia",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.9"
cfgs = ">= 0.13.0"
getmac = ">= 0.9.0"
pzp = ">=0.0.25"
rich = ">= 13.0.0"
typer = ">= 0.15.0"
wakeonlan = ">= 2.0.0"
websocket-client = ">= 1.0.0"
[tool.poetry.group.dev.dependencies]
coverage = "*"
faker = "*"
mypy = "*"
pytest = "*"
pytest-cov = "*"
[tool.poetry.scripts]
alga = "alga.__main__:app"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"PL", # Pylint
"UP", # pyupgrade
]
ignore = [
"E501", # Line too long
"UP007", # Use `X | Y` for type annotations"
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["alga"]
lines-after-imports = 2
split-on-trailing-comma = false
[tool.ruff.format]
skip-magic-trailing-comma = true
[tool.pytest.ini_options]
addopts = """
--cov
--cov-fail-under=100
--cov-report=term-missing:skip-covered
--no-cov-on-fail
"""
[tool.coverage.report]
exclude_also = [
"if __name__ == .__main__.:",
]
[tool.mypy]
python_version = "3.9"
strict = true