forked from crim-ca/blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
89 lines (74 loc) · 1.94 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
[bumpversion]
current_version = 2.0.1
commit = True
tag = True
tag_name = {new_version}
[bumpversion:file:README.md]
search = {current_version}
replace = {new_version}
[bumpversion:file:Dockerfile]
search = LABEL version="{current_version}"
replace = LABEL version="{new_version}"
[bumpversion:file:Makefile]
search = APP_VERSION := {current_version}
replace = APP_VERSION := {new_version}
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:CHANGES.rst]
search =
`Unreleased <https://github.com/crim-ca/blockchain/tree/master>`_ (latest)
---------------------------------------------------------------------------------------------------------------
replace =
`Unreleased <https://github.com/crim-ca/blockchain/tree/master>`_ (latest)
---------------------------------------------------------------------------------------------------------------
* Nothing yet.
`{new_version} <https://github.com/crim-ca/blockchain/tree/{new_version}>`_ ({now:%%Y-%%m-%%d})
---------------------------------------------------------------------------------------------------------------
[wheel]
universal = 1
[doc8]
max-line-length = 120
ignore-path = docs/_build,docs/autoapi
[flake8]
ignore = E501,W291,W503,W504
max-line-length = 120
exclude =
.git,
__pycache__,
build,
dist,
env,
eggs,
parts,
share,
[pylint]
[bandit]
exclude = *.egg-info,build,dist,env,./tests,test_*
targets = .
[tool:isort]
line_length = 120
multi_line_output = 3
lines_between_types = 0
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party = blockchain
known_third_party = mock
forced_separate =
combine_as_imports = false
[coverage:run]
branch = true
source = ./
include = blockchain/*
omit =
setup.py
docs/*
tests/*
[tool:pytest]
addopts =
--strict-markers
--tb=native
markers =
api: API operations
utils: utility functions
functional: functional operations