-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (59 loc) · 1014 Bytes
/
Copy pathpyproject.toml
File metadata and controls
66 lines (59 loc) · 1014 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.ruff]
target-version = "py310"
line-length = 100
extend-exclude = [
".git",
".venv",
"venv",
"__pycache__",
"test-results",
]
[tool.ruff.lint]
select = [
"E4",
"E7",
"E9",
"F",
"FIX",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
explicit_package_bases = true
strict = true
warn_unused_configs = true
[tool.radon]
cc_min = "A"
cc_max = "C"
show_complexity = true
average = true
exclude = ".git,.venv,venv,__pycache__,test-results"
[tool.vulture]
paths = ["cac", "scripts"]
min_confidence = 80
exclude = [
".git",
".venv",
"venv",
"__pycache__",
"test-results",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = [
"--cov=cac",
"--cov-report=term-missing",
"--cov-fail-under=10",
"--durations=10",
]
[tool.coverage.run]
branch = true
omit = [
"*/__pycache__/*",
"*/test-results/*",
]