-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.cfg
93 lines (79 loc) · 1.42 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[bumpversion]
current_version = 0.6.6
commit = True
tag = True
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:README.md]
search = * **Version:** {current_version}
replace = * **Version:** {new_version}
[tool:pytest]
minversion = 3
addopts = --cov-config=setup.cfg --cov=apistar_crud
norecursedirs =
*settings*
*urls*
.tox*
*docs*
[coverage:run]
source = .
branch = True
omit =
*settings*
*__init__.py
*__main__.py
*urls*
.tox*
*tests*
*/migrations/*
*/features/*
*manage.py
*wsgi.py
*celery.py
*apps.py
run*
build.py
[coverage:report]
show_missing = True
ignore_errors = True
fail_under = 90
exclude_lines =
noqa
pragma: no cover
pass
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
def __repr__
if cls\.debug
if settings\.DEBUG
[coverage:paths]
source = ./
[coverage:html]
directory = .test_report/coverage_html/
[coverage:xml]
output = .test_report/coverage.xml
[isort]
atomic = true
multi_line_output = 5
not_skip = __init__.py
line_length = 120
skip_glob =
*/.tox/**
*/doc/**
*/build/**
*/dist/**
known_standard_library = typing
known_first_party = apistar_crud
known_third_party = apistar,apistar_peewee_orm,apistar_sqlalchemy,peewee,pytest,sqlalchemy,apistar_pagination
[flake8]
max-line-length = 120
ignore = N804
exclude =
doc/*,
build/*,
dist/*,
.tox/*
max-complexity = 10