-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (31 loc) · 841 Bytes
/
Copy pathpyproject.toml
File metadata and controls
36 lines (31 loc) · 841 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
# path: pyproject.toml
[tool.black]
line-length = 100
target-version = ["py312"]
extend-exclude = '''
/(
migrations
)/
'''
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["**/migrations/*.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "DJ"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.test"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
addopts = "--strict-markers --disable-warnings --cov --cov-report=term-missing --cov-report=xml --no-cov-on-fail"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["accounts", "analytics", "api", "common", "config", "console", "core", "ml", "returns", "ui", "web"]
[tool.coverage.report]
fail_under = 85
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]