forked from TissueImageAnalytics/tiatoolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
38 lines (30 loc) · 729 Bytes
/
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
[bumpversion]
current_version = 1.0.0
commit = True
tag = False
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:tiatoolbox/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bdist_wheel]
universal = 1
[flake8]
exclude = docs, *__init__*
max-line-length = 88
extend-ignore = E203 # For black compatibility
spellcheck-targets = comments
dictionaries = en_US,python,technical
max-cognitive-complexity = 14
max-expression-complexity = 7
[aliases]
test = pytest
[tool:pytest]
collect_ignore = ['setup.py']
[isort]
profile = black
multi_line_output = 3
skip_gitignore = True
line_length = 88
filter_files = True