-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (31 loc) · 832 Bytes
/
pyproject.toml
File metadata and controls
39 lines (31 loc) · 832 Bytes
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
[project]
name = "switcher_webapi"
description = "Web service for controlling Switcher smart devices"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.13"
dynamic = ["version"]
[tool.ruff]
line-length = 88
target-version = "py313"
exclude = [".venv", "venv", ".git", "build", "dist", "__pycache__", "site"]
[tool.ruff.lint]
select = ["E", "F", "I", "D", "W"]
ignore = ["D100", "D104"]
[tool.ruff.lint.per-file-ignores]
"app/tests/*.py" = ["E501", "D103"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.mypy]
ignore_missing_imports = true
[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"]