Skip to content

Commit 3bb2ba0

Browse files
committed
Make type hints public
1 parent d0722ba commit 3bb2ba0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ base-classifiers = [
3535
"Topic :: Software Development :: Quality Assurance",
3636
"Topic :: Software Development :: Testing",
3737
"Topic :: Software Development :: Testing :: Unit",
38+
"Typing :: Typed",
3839
]
3940
python-versions = [ "3.7", "3.8", "3.9",]
4041
python-implementations = [ "CPython",]

testing_tox/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
__all__ = ["prepare_stdout", "run_tox"]
4747

4848

49-
def run_tox(args: Iterable[str], workdir: PathPlus):
49+
def run_tox(args: Iterable[str], workdir: PathPlus) -> None:
5050
"""
5151
Run ``tox`` in ``workdir`` with the given arguments.
5252
@@ -60,7 +60,7 @@ def run_tox(args: Iterable[str], workdir: PathPlus):
6060
tox.cmdline(list(args))
6161

6262

63-
def prepare_stdout(stdout: str, toxinidir: PathPlus):
63+
def prepare_stdout(stdout: str, toxinidir: PathPlus) -> str:
6464
"""
6565
Given the content of ``sys.stdout`` captured from a run of ``tox``,
6666
prepare the output for regression tests.

testing_tox/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)