mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-12-13 11:03:27 +00:00
add missing return type annotation
This commit is contained in:
parent
4bcfa0dd5a
commit
aa439fec02
@ -60,7 +60,7 @@ class ExamplePackage:
|
|||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
self._create(Path(tmpdir))
|
self._create(Path(tmpdir))
|
||||||
|
|
||||||
def _create(self, directory: Path):
|
def _create(self, directory: Path) -> None:
|
||||||
pkgdir = directory / self.dirname
|
pkgdir = directory / self.dirname
|
||||||
pkgdir.mkdir()
|
pkgdir.mkdir()
|
||||||
(pkgdir / self.content_filename).write_text(self.content_text)
|
(pkgdir / self.content_filename).write_text(self.content_text)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user