-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (33 loc) · 755 Bytes
/
Copy pathpyproject.toml
File metadata and controls
36 lines (33 loc) · 755 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
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "gallery.settings"
pythonpath = [".", "webapp"]
testpaths = ["APIPictures/tests", "webapp/authentication/tests/", "webapp/pictures/tests/"]
python_files = ["test_*.py"]
addopts = [
"-ra",
"--strict-markers",
"--disable-warnings",
"--cov=APIPictures",
"--cov=webapp",
"--cov=webapp/authentication",
"--cov=webapp/pictures",
"--cov-report=term-missing",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.coverage.run]
branch = true
omit = [
"*/tests/*",
"*/__init__.py",
"*/settings.py",
"*middlewares.py",
"*/migrations/*",
"*/wsgi.py",
"*/asgi.py",
"manage.py",
]
[tool.coverage.report]
show_missing = true
fail_under = 80