diff options
| author | Eric Lin <anselor@gmail.com> | 2021-03-15 15:14:46 -0400 |
|---|---|---|
| committer | anselor <anselor@gmail.com> | 2021-03-18 18:26:20 -0400 |
| commit | f30627d5d2d0adc7db45aa26956372ea2cb3dc19 (patch) | |
| tree | 83c877630653ae3d0075667ec5f2e4e0732a45e5 /setup.cfg | |
| parent | 486734e85988d0d0160147b0b44a37759c833e8a (diff) | |
| download | cmd2-git-f30627d5d2d0adc7db45aa26956372ea2cb3dc19.tar.gz | |
Added tests
Diffstat (limited to 'setup.cfg')
| -rw-r--r-- | setup.cfg | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,6 +1,11 @@ [tool:pytest] testpaths = tests +addopts = + --cov=cmd2 + --cov-append + --cov-report=term + --cov-report=html [flake8] count = True @@ -37,3 +42,16 @@ use_parentheses = true 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 |
