-
Notifications
You must be signed in to change notification settings - Fork 45
/
setup.cfg
62 lines (50 loc) · 1.41 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.11.2.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:sdmetrics/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:conda/meta.yaml]
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-names = X, Y, X_train, X_test
inline-quotes = single
extend-ignore = SFS3, # String literal formatting using f-string
D107, # Missing docstring in __init__
DUO103, # Insecure use of "pickle" or "cPickle"
VNE001, # Single letter variable names are not allowed
W503 # Line break occurred before a binary operator
[pydocstyle]
convention = google
add-ignore = D107, D407, D417
[isort]
include_trailing_comment = True
line_length = 99
lines_between_types = 0
multi_line_output = 4
not_skip = __init__.py
use_parentheses = True
[aliases]
test = pytest
[tool:pytest]
collect_ignore = ['setup.py']