-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
57 lines (49 loc) · 1.21 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
# setup pytest, dependencies: pytest pytest-cov pytest-sugar pytest-rerunfailures
[tool:pytest]
addopts =
--strict-markers
--doctest-modules
--reruns 10
--reruns-delay 0.1
--cov-report term-missing
--cov-fail-under=90
--cov=src/msmhelper test/
# setup flake8
[flake8]
format = wemake
show-source = True
statistics = True
doctests = True
max-complexity = 10
count = True
# flake8-spellchecker
dictionaries = en_US, python, technical
spellcheck-targets = comments
# wemake
max-local-variables = 10
max-module-members = 14
# rst-docstrings
rst-roles = class, func, ref
rst-directives = todo
# exclude some errors
ignore = S101, C101, N, DAR401, DAR402, W504, WPS306, WPS352
exclude = .git, src/msmhelper/__pycache__, docs, build, dist
per-file-ignores =
src/*/__init__.py:F401, F403, D104, D400, E501
setup.py:D100
test/*.py:WPS, DAR101, DAR201
# setup flake8-isort
[isort]
include_trailing_comma = true
multi_line_output = 3
line_length = 79
skip =
src/msmhelper/__init__.py
# setup darglint
[darglint]
# does not work with numpy style
# (see https://github.com/terrencepreilly/darglint/issues/69)
strictness = short
docstring_style = numpy
# ignore private function
ignore_regex=^_(.*)