From 1b19822a2df7ff969e3734973f131df9ed9d2ee3 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 1 Sep 2020 14:27:10 +0200 Subject: typing: Fix templates --- mesonbuild/templates/sampleimpl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/templates/sampleimpl.py') diff --git a/mesonbuild/templates/sampleimpl.py b/mesonbuild/templates/sampleimpl.py index 20ed8ab..2d1498b 100644 --- a/mesonbuild/templates/sampleimpl.py +++ b/mesonbuild/templates/sampleimpl.py @@ -14,8 +14,8 @@ class SampleImpl: - def create_executable(self): + def create_executable(self) -> None: raise NotImplementedError('Sample implementation for "executable" not implemented!') - def create_library(self): + def create_library(self) -> None: raise NotImplementedError('Sample implementation for "library" not implemented!') -- cgit v1.1