-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
33 lines (28 loc) · 821 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
[coverage:run]
branch = True
[flake8]
accept-encodings = utf-8
max-complexity = 6
statistics = False
max-line-length = 80
doctests = True
enable-extensions = G
isort-show-traceback = True
# it's not a bug that we aren't using all of hacking, ignore:
# WPS432 it is ok to have some magical numbers here
# S311 it is ok to have standard pseudo-random generators
# WPS318, WPS319 it is ok for more readable format
ignore = WPS432, S311, WPS318, WPS319
per-file-ignores =
# it is possibble to have prints in scripts
hexlet_python_package/scripts/*.py: WPS421
[tool:pytest]
norecursedirs = __pycache__
addopts = --strict
[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