forked from sdv-dev/RDT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
71 lines (58 loc) · 1.52 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
[bumpversion]
current_version = 1.6.1.dev1
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:rdt/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bdist_wheel]
universal = 1
[flake8]
max-line-length = 99
inline-quotes = single
extend-ignore = D107, SFS3, PD005
exclude = docs, .tox, .git, __pycache__, .ipynb_checkpoints
per-file-ignores =
tests/contributing.py:T001
tests/performance/profiling.py:T001
tests/performance/test_performance.py:T001
[isort]
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']
[pydocstyle]
convention = google
add-ignore = D107, D407, D417
[coverage:report]
exclude_lines = NotImplementedError()
[pylint]
extension-pkg-whitelist = numpy
min-similarity-lines = 5
max-args = 8
max-attributes = 11
ignore-comments = yes
ignore-docstrings = yes
ignore-imports = yes
disable = R0801, R0903, R0913, R0914, R1708, C0209, W0223, W0221, W0237, C0411,
W0231 # __init__ method from base class is not called on a child class
ignored-classes = sre_parse