-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
40 lines (35 loc) · 876 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
38
39
40
[flake8]
accept-encodings = utf-8
max-complexity = 6
statistics = False
max-line-length = 80
doctests = True
enable-extensions = G
isort-show-traceback = True
format = wemake
show-source = True
ignore =
WPS110
WPS412
WPS410
D100, D101, D103, D104, D105, D107
per-file-ignores =
# WPS421: it is possibble to have prints in scripts
gendiff/scripts/*.py: WPS421
# S101: it is possibble to have asserts in tests
tests/*.py: S101
# WPS202 its ok to have many fixtures
tests/conftest.py: WPS202
[isort]
# See https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
include_trailing_comma = true
default_section = FIRSTPARTY
# Should be: 80 - 1
line_length = 79
[tool:pytest]
norecursedirs = tests/fixtures *.egg .eggs dist build docs .tox .git __pycache__
addopts = --strict-markers
[coverage:run]
branch = True
omit = tests/*