forked from mathesar-foundation/mathesar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
30 lines (28 loc) · 804 Bytes
/
setup.cfg
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
[flake8]
ignore = E501, W503, W505
[tool:pytest]
DJANGO_SETTINGS_MODULE = config.settings
python_files =
tests.py
test_*.py
*_tests.py
testpaths =
db
mathesar
env =
D:ALLOWED_HOSTS=
D:DEBUG=False
D:SECRET_KEY=hdC7qKjaFXNBjJ4heMMlOMrP-6j1-OvZpPf87DAXyaw
D:DJANGO_DATABASE_KEY=default
D:DJANGO_DATABASE_URL=postgres://mathesar:mathesar@mathesar_db:5432/mathesar_django
D:MATHESAR_DATABASES=(mathesar_db_test|postgres://mathesar:mathesar@mathesar_db:5432/mathesar_db_test)
TEST=True
MODE=PRODUCTION
addopts = --cov=mathesar --cov=db --cov-config=setup.cfg --maxprocesses=10 -n auto
# The below specifies some pytest-cov options
[coverage:run]
omit =
# omit all test files from coverage report
*test*
# omit migrations from coverage report
mathesar/migrations/*