-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (37 loc) · 896 Bytes
/
pyproject.toml
File metadata and controls
41 lines (37 loc) · 896 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
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "props.settings"
pythonpath = ["src"]
testpaths = ["src"]
python_files = ["tests.py", "test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short -n auto --cov=. --cov-report=term-missing:skip-covered"
[tool.black]
line-length = 79
target-version = ["py312"]
[tool.isort]
profile = "black"
line_length = 79
known_django = ["django"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "DJANGO", "FIRSTPARTY", "LOCALFOLDER"]
[tool.coverage.run]
omit = [
"*/migrations/*",
"*/tests.py",
"*/conftest.py",
"*/factories.py",
"*/manage.py",
"*/wsgi.py",
"*/asgi.py",
]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 70
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.",
"raise NotImplementedError",
"pass",
]