forked from python-cmd2/cmd2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
57 lines (53 loc) · 1.09 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
[tool:pytest]
testpaths =
tests
addopts =
--cov=cmd2
--cov-append
--cov-report=term
--cov-report=html
[flake8]
count = True
ignore = E203,W503
max-complexity = 26
max-line-length = 127
show-source = True
statistics = True
exclude =
.git
__pycache__
.tox
.nox
.eggs
*.eggs,
.venv,
.idea,
.pytest_cache,
.vscode,
build,
dist,
htmlcov
[isort]
line_length = 1
skip = cmd2/__init__.py,.git,__pycache,.tox,.nox,.venv,.eggs,.idea,.vscode,build,dist.htmlcov
profile = black
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
[doc8]
ignore-path=docs/_build,.git,.idea,.pytest_cache,.tox,.nox,.venv,.vscode,build,cmd2,examples,tests,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg,plugins
max-line-length=120
verbose=0
[mypy]
disallow_incomplete_defs = True
disallow_untyped_defs = True
disallow_untyped_calls = True
warn_redundant_casts = True
warn_unused_ignores = False
warn_return_any = True
warn_unreachable = True
strict = True
show_error_context = True
show_column_numbers = True
show_error_codes = True