-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.cfg
116 lines (96 loc) · 1.69 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[bumpversion]
current_version = 1.6.0
commit = True
tag = False
message = '{current_version} → {new_version}'
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:README.rst]
search = v{current_version}.
replace = v{new_version}.
[bumpversion:file:docs/conf.py]
search = version = release = '{current_version}'
replace = version = release = '{new_version}'
[bumpversion:file:src/pygaps/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[flake8]
max-line-length = 140
exclude = */migrations/*
[pydocstyle]
convention = numpy
match-dir = 'src\/.*'
[isort]
force_single_line = True
line_length = 120
known_first_party = pygaps
default_section = THIRDPARTY
forced_separate = test_pygaps
not_skip = __init__.py
skip = migrations
[tool:pytest]
norecursedirs =
.git
.tox
.env
dist
build
migrations
python_files =
test_*.py
*_test.py
tests.py
addopts =
-ra
--ignore=docs/conf.py
--ignore=setup.py
--ignore=ci
--ignore=examples
--ignore=.eggs
--doctest-modules
--doctest-glob=\*.rst
--tb=short
[coverage]
show_missing = true
precision = 2
omit = *migrations*
[coverage:paths]
source =
src
*/site-packages
[coverage:run]
branch = False
source =
src
omit =
*/tests/*
parallel = true
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
[check-manifest]
ignore =
.travis.yml
.github
.github/*
[matrix]
python_versions =
py35
py36
py37
dependencies =
coverage_flags =
cover: true
environment_variables =
-