Skip to content

Commit

Permalink
Add pytest, doc8, and mypy config back to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed Oct 18, 2024
1 parent b34df69 commit 78b3a47
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[tool:pytest]
testpaths =
tests
addopts =
--cov=cmd2
--cov-append
--cov-report=term
--cov-report=html

[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

0 comments on commit 78b3a47

Please sign in to comment.