-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
46 lines (39 loc) · 1.1 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
[bumpversion]
files = devtools/conda-recipe/meta.yaml setup.py .gitlab-ci.yml docs/conf.py
current_version = 0.0.21
commit = True
tag = False
message = "Release {new_version}"
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{dev}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = gamma
values =
dev
gamma
[aliases]
test = pytest
[tool:pytest]
addopts = -sx -vv --cov=kmtools --ignore=setup.py --ignore=docs/ --ignore=build/
[flake8]
ignore = D100,D101,D102,D103,D105,D301,E402
max-line-length = 99
exclude = __init__.py,build
[isort]
line_length = 99
forced_separate = django.contrib,django.utils
[yapf]
ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT = true
ALLOW_MULTILINE_LAMBDAS = true
BASED_ON_STYLE = pep8
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
COALESCE_BRACKETS = true
COLUMN_LIMIT = 99
CONTINUATION_INDENT_WIDTH = 4
SPACES_BEFORE_COMMENT = 2
SPLIT_BEFORE_FIRST_ARGUMENT = true
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED = true
SPLIT_BEFORE_DICT_SET_GENERATOR = false
SPLIT_BEFORE_NAMED_ASSIGNS = false