-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.cfg
29 lines (23 loc) · 834 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
# --- Individual linter configuration ---------------------------------------
[flake8]
ignore = E203, E266, E501, W503, F403, F401
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
exclude = .git,__pycache__,{{cookiecutter.project_slug}}/,.mypy_cache,.pytest_cache,.tox
# --- pytest configuration --------------------------------------------------
[tool:pytest]
testpaths = tests
addopts =
-v --tb=short --cov-config=setup.cfg --cov --cov-report json --cov-report term-missing:skip-covered
norecursedirs =
.tox .git */migrations/* */static/* docs venv */{{cookiecutter.project_slug}}/*
# --- Coverage configuration ------------------------------------------------
[coverage:run]
omit =
venv/*
{{cookiecutter.project_slug}}/*
tasks.py
[coverage:report]
skip_covered = True
show_missing = True