-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
50 lines (41 loc) · 1.12 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
[bumpversion]
current_version = 0.1.0.dev0
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{candidate}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = release
first_value = dev
values =
dev
release
[bumpversion:part:candidate]
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:syndi/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bdist_wheel]
universal = 1
[flake8]
max-line-length = 99
exclude = docs, .tox, .git, __pycache__, .ipynb_checkpoints
# Ignore W503 (line break before binary operator)
# Line breaks should occur before the binary operator because it keeps all operators aligned.
# Please discuss with the group before adding other ignores.
ignore = W503
[isort]
include_trailing_comma = True
line_length=99
lines_between_types = 0
multi_line_output = 4
not_skip = __init__.py
use_parentheses = True
[aliases]
test = pytest
[tool:pytest]
addopts = --ignore=setup.py