forked from Ouranosinc/xclim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
78 lines (68 loc) · 1.36 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
71
72
73
74
75
76
77
78
[bumpversion]
current_version = 0.30.4-beta
commit = False
tag = False
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 = gamma
values =
beta
gamma
[bumpversion:file:setup.py]
search = VERSION = "{current_version}"
replace = VERSION = "{new_version}"
[bumpversion:file:xclim/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[coverage:run]
relative_files = True
[flake8]
exclude =
.git,
docs,
build,
.eggs,
max-line-length = 88
max-complexity = 12
ignore =
C901
E203
E231
E266
E501
F401
F403
W503
W504
per-file-ignores =
tests/*:E402
[aliases]
test = pytest
[tool:pytest]
addopts = --verbose
norecursedirs = docs/notebooks/*
filterwarnings =
ignore::UserWarning
testpaths = xclim/testing/tests xclim/testing/tests/test_sdba
usefixtures = xdoctest_namespace
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL NUMBER ELLIPSIS
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
[tool:pylint]
ignore = docs,tests
disable =
bad-continuation,
invalid-name,
line-too-long,
protected-access,
too-few-public-methods,
too-many-arguments,
[pydocstyle]
convention = numpy
match = (?!test_).*\.py
match_dir = ^(?!(testing)).
[isort]
profile = black