-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (35 loc) · 903 Bytes
/
Copy pathpyproject.toml
File metadata and controls
42 lines (35 loc) · 903 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
40
41
42
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["automation_inspector/app"]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
"raise NotImplementedError",
'\.\.\.',
]
show_missing = true
skip_covered = true
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["ASYNC", "B", "C4", "E", "F", "I", "RUF", "S", "SIM", "UP"]
ignore = ["B008"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S105", "S106"]
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.mypy]
python_version = "3.14"
mypy_path = "automation_inspector"
files = ["automation_inspector/app"]
check_untyped_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true