forked from learningequality/kolibri
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
45 lines (38 loc) · 910 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[wheel]
universal = 1
[aliases]
test = pytest
bdd = pytest --addopts "-c pytest.bdd.ini"
[flake8]
ignore = E226,E302,E41
max-line-length = 160
max-complexity = 10
exclude = kolibri/*/migrations/*
[isort]
atomic = true
multi_line_output = 5
line_length = 160
indent=' '
combine_as_imports = true
skip = wsgi.py,docs,env,cli.py,test,.eggs,build
[coverage:run]
branch = true
source = kolibri
# plugins = django_coverage_plugin # No Django 1.9 support yet
omit =
*/migrations/*
*/tests/*
*/test_*.py
kolibri/core/webpack/management/commands/devserver.py
kolibri/utils/lru_cache.py
[coverage:report]
ignore_errors = True
show_missing = True
precision = 2
exclude_lines =
raise NotImplementedError
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.: