Skip to content

Commit eaa46e5

Browse files
authored
Add test that mypy in template works
1 parent 44751fc commit eaa46e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_example.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ def test_template(tmp_path: Path):
5555
run("./venv/bin/twine check --strict dist/*")
5656

5757

58+
def test_template_mypy(tmp_path: Path):
59+
copy_project(tmp_path, type_checker="mypy")
60+
run = make_venv(tmp_path)
61+
run("./venv/bin/tox -p")
62+
63+
5864
def test_template_no_docs(tmp_path: Path):
5965
copy_project(tmp_path, docs_type="README")
6066
run = make_venv(tmp_path)

0 commit comments

Comments
 (0)