-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (46 loc) · 1.28 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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.mypy]
disallow_any_decorated = true
disallow_any_explicit = true
disallow_any_unimported = true
files = "."
mypy_path = "$MYPY_CONFIG_FILE_DIR/stubs" # needed for stubtest
strict = true
warn_incomplete_stub = true
warn_unreachable = true
[tool.poetry]
name = "pisco"
version = "0.0.0" # Version will be set by CI workflow based on git tag.
description = "Keyboard-only controller for Sonos speakers"
authors = ["Christoph Gietl <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/christophgietl/pisco"
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1"
Pillow = "^11.1"
platformdirs = "^4.3"
python-json-logger = "^3.2"
soco = "^0.30"
[tool.poetry.group.dev.dependencies]
Faker = "^33.3"
mypy = "^1.14"
pre-commit = "^4.0"
pytest = "^8.3"
pytest-cov = "^6.0"
[tool.poetry.scripts]
pisco = "pisco.user_interface.command_line_interface:run"
[tool.ruff]
src = ["src", "stubs", "tests"]
target-version = "py39"
[tool.ruff.lint]
ignore = ["COM812", "ISC001"]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"stubs/*" = ["FBT", "N815", "PLR0913"]
"tests/*" = ["D", "INP001", "S101"]
[tool.ruff.lint.pydocstyle]
convention = "google"