-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
67 lines (57 loc) · 1.19 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
[bumpversion]
# Release procedure
# 1. <major|minor|patch> adds dev suffix
# 2. <release> removes dev suffix.
current_version = 0.2.0dev
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<release>dev)?
serialize =
{major}.{minor}.{patch}{release}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = placeholder
values =
dev
placeholder
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:setup_tests.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:src/yammh3/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:.cookiecutterrc]
search = version: {current_version}
replace = version: {new_version}
[flake8]
exclude = docs, tests
max-line-length = 120
[pytest]
norecursedirs =
.*
dist
build
python_files =
test_*.py
*_test.py
tests.py
ignore =
setup.py
addopts =
-rxEfsw
[coverage:paths]
source =
src
[coverage:run]
branch = true
source =
yammh3
tests
parallel = true
[coverage:report]
show_missing = true
precision = 2
omit =