-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.08 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (47 loc) · 1.08 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
[project]
name = "switcher_webapi"
version = "2.5.5.dev1"
description = "Web service for controlling Switcher smart devices"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.13"
dependencies = [
"aioswitcher==6.3.0",
"aiohttp==3.14.3",
]
[dependency-groups]
dev = [
"assertpy>=1.1",
"ty>=0.0.72",
"prek>=0.4.13",
"pytest>=9.1.1",
"pytest-aiohttp>=1.1.1",
"pytest-asyncio>=1.4.0",
"pytest-cov>=7.1.0",
"pytest-sugar>=1.1.1",
"ruff>=0.16.3",
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-git-revision-date-plugin>=0.3.2",
"mkdocs-material>=9.7.7",
]
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B", "RUF"]
[tool.ruff.lint.per-file-ignores]
"app/tests/*.py" = ["E501", "D103"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.coverage.run]
source = ["app"]
omit = ["app/tests/*"]
[tool.coverage.report]
fail_under = 85.00
precision = 2
skip_covered = true
exclude_lines = ["if __name__ == \"__main__\":"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["app/tests"]