tests: fully type the test suite (#2794)
* tests: fully type the test suite * chore: require more typing Signed-off-by: Henry Schreiner <henryfs@princeton.edu> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Henry Schreiner <henryfs@princeton.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
643b30c796
commit
097806b6b1
@@ -1,6 +1,7 @@
|
||||
from pathlib import Path
|
||||
|
||||
import jinja2
|
||||
import pytest
|
||||
|
||||
from . import utils
|
||||
from .test_projects import TestProject
|
||||
@@ -31,7 +32,7 @@ print('before_build.py executed!')
|
||||
"""
|
||||
|
||||
|
||||
def test(capfd, tmp_path):
|
||||
def test(capfd: pytest.CaptureFixture[str], tmp_path: Path) -> None:
|
||||
project_dir = tmp_path / "project"
|
||||
subdir_package_project.generate(project_dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user