Skip to content

Commit 78b3a47

Browse files
committed
Add pytest, doc8, and mypy config back to setup.cfg
1 parent b34df69 commit 78b3a47

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

setup.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[tool:pytest]
2+
testpaths =
3+
tests
4+
addopts =
5+
--cov=cmd2
6+
--cov-append
7+
--cov-report=term
8+
--cov-report=html
9+
10+
[doc8]
11+
ignore-path=docs/_build,.git,.idea,.pytest_cache,.tox,.nox,.venv,.vscode,build,cmd2,examples,tests,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg,plugins
12+
max-line-length=120
13+
verbose=0
14+
15+
[mypy]
16+
disallow_incomplete_defs = True
17+
disallow_untyped_defs = True
18+
disallow_untyped_calls = True
19+
warn_redundant_casts = True
20+
warn_unused_ignores = False
21+
warn_return_any = True
22+
warn_unreachable = True
23+
strict = True
24+
show_error_context = True
25+
show_column_numbers = True
26+
show_error_codes = True

0 commit comments

Comments
 (0)