-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
29 lines (25 loc) · 1.03 KB
/
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
[tool:pytest] # https://docs.pytest.org/en/latest/reference.html#ini-options-ref
;Note: --cov must be off to run Pycharm coverage tool
# Using pytest w/ coverage in Pycharm: https://stackoverflow.com/questions/45597357/pycharm-intellij-shows-0-coverage-for-pytest-even-though-coverage-was-generated
# In other words, Pycharm doesn't use pytest-cov; it combines pytest and coverage.py in its own way
;python_paths = tests/project
;python_paths = .
DJANGO_SETTINGS_MODULE = tests.settings
python_files = tests.py test_*.py
addopts = -s -v -qq --doctest-modules
;addopts = -s -qq --cov --cov-report html
;django_find_project = false
[coverage:run] # https://coverage.readthedocs.io/en/coverage-4.2/config.html#run
source = .
omit = *tests/*, setup.py
# omit = *migrations*, *tests*, *venv*, */JetBrains/*, */Local/Temp/*, *site_packages*
;[flake8]
;ignore = E501, F401
;exclude = tmp/*
;[mypy]
;ignore_missing_imports=True
;no_implicit_optional=True
;check_untyped_defs=True
;strict_equality=True
;warn_redundant_casts = True
;warn_unused_ignores = True