diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-08-07 19:38:38 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-08-07 19:38:38 -0500 |
| commit | 70851cf40e33c08c0b2728a0ef3cac20482905d5 (patch) | |
| tree | 0db44409ead0ca462b903dc4439010d480c8aea9 /pyproject.toml | |
| parent | Add info on setting with ini (diff) | |
| download | config-file-70851cf40e33c08c0b2728a0ef3cac20482905d5.zip | |
Add mypy, update pytest, and add lint tasks
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml index 7f05d3e..810e5c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,9 @@ packages = [ test = "task test_cov -- --cov-report term-missing" test_cov = "task pytest -- --cov=config_file/" test_ci = "task test_cov -- --cov-report=xml" -lint = "poetry run pre-commit run --all" +lint = "task lint_types && task lint_precommit" +lint_types = "poetry run mypy config_file/ tests/" +lint_precommit = "poetry run pre-commit run --all" pytest = "poetry run pytest tests/" [tool.poetry.dependencies] @@ -45,7 +47,7 @@ pre-commit = "^1.20" autoflake = "^1.3.1" isort = "^4.3.21" seed-isort-config = { version = "^2.1.1", python = "^3.6.1" } -pytest = "^5.4.1" +pytest = "^6.0.0" pytest-cov = "^2.8.1" pytest-sugar = "^0.9.3" taskipy = "^1.2.1" @@ -55,6 +57,7 @@ black = "^19.10b0" sphinx = "^2.4.4" sphinx_rtd_theme = "^0.4.3" sphinxcontrib-napoleon = "^0.7" +mypy = "^0.782" [tool.black] line-length = 88 |