This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
{{ cookiecutter.project_name }} Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ poetry-remove:
1616install :
1717 poetry lock -n && poetry export --without-hashes > requirements.txt
1818 poetry install -n
19+ poetry run mypy --install-types --non-interactive
1920
2021.PHONY : pre-commit-install
2122pre-commit-install :
@@ -44,7 +45,7 @@ check-codestyle:
4445
4546.PHONY : mypy
4647mypy :
47- poetry run mypy --install-types --non-interactive --show-traceback -- config-file pyproject.toml ./
48+ poetry run mypy -- config-file pyproject.toml hooks tests
4849
4950.PHONY : check-safety
5051check-safety :
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ color_output = true
8787# mypy configurations: https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
8888python_version = 3.7
8989pretty = true
90+ show_traceback = true
91+ color_output = true
9092
9193allow_redefinition = false
9294check_untyped_defs = true
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ poetry-remove:
2020install :
2121 poetry lock -n && poetry export --without-hashes > requirements.txt
2222 poetry install -n
23+ poetry run mypy --install-types --non-interactive
2324
2425.PHONY : pre-commit-install
2526pre-commit-install :
@@ -48,7 +49,7 @@ check-codestyle:
4849
4950.PHONY : mypy
5051mypy :
51- poetry run mypy --install-types --non-interactive --show-traceback --config-file pyproject.toml ./
52+ poetry run mypy --config-file pyproject.toml ./
5253
5354.PHONY : check-safety
5455check-safety :
You can’t perform that action at this time.
0 commit comments