diff --git a/tests/types.py b/tests/types.py new file mode 100644 index 00000000..e0c1f060 --- /dev/null +++ b/tests/types.py @@ -0,0 +1,11 @@ +"""Typings for unihan-db tests.""" +import pathlib +import typing as t + + +class UnihanOptions(t.TypedDict): + """Unihan options dictionary.""" + + source: pathlib.Path + work_dir: pathlib.Path + zip_path: pathlib.Path