add missing return type annotation

This commit is contained in:
Benjamin Drung 2025-12-03 14:35:04 +01:00
parent 4bcfa0dd5a
commit aa439fec02

View File

@ -60,7 +60,7 @@ class ExamplePackage:
with tempfile.TemporaryDirectory() as tmpdir:
self._create(Path(tmpdir))
def _create(self, directory: Path):
def _create(self, directory: Path) -> None:
pkgdir = directory / self.dirname
pkgdir.mkdir()
(pkgdir / self.content_filename).write_text(self.content_text)