mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-12-11 18:13:26 +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:
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user