-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
61 lines (48 loc) · 1.32 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
[bumpversion]
current_version = 0.1.0
commit = True
tag = False
message = Bump version: {current_version} → {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = prod
values =
dev
prod
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:pmc_tables/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:.conda/meta.yaml]
search = "version = {current_version}"
[bumpversion:file:.gitlab-ci.yml]
search = "PACKAGE_VERSION: {current_version}"
[bumpversion:file:docs/conf.py]
search = "release = {current_version}"
[bumpversion:file:README.md]
search = "docs-v{current_version}-blue"
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[tool:pytest]
addopts = -x --ignore=setup.py --ignore=docs/ --ignore=build/
filterwarnings =
ignore::FutureWarning
[flake8]
max-line-length = 100
ignore = D100,D101,D102,D103,D105,D301,E402,W503,E124,E211
exclude = docs,__init__.py,build
[isort]
known_first_party = pmc_tables
line_length = 100
forced_separate = django.contrib,django.utils
skip = docs,__init__.py,build
[yapf]
column_limit = 100
based_on_style = google