File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def __init__(self, options: argparse.Namespace):
32
32
self .depfile = options .depfile
33
33
self .make = options .make
34
34
35
- def write_depfile (self ):
35
+ def write_depfile (self ) -> None :
36
36
with open (self .depfile , 'w' ) as f :
37
37
f .write ('{}: \\ \n ' .format (self .stampfile ))
38
38
for dirpath , dirnames , filenames in os .walk (self .src_dir ):
@@ -43,7 +43,7 @@ def write_depfile(self):
43
43
path = Path (dirpath , fname )
44
44
f .write (' {} \\ \n ' .format (path .as_posix ().replace (' ' , '\\ ' )))
45
45
46
- def write_stampfile (self ):
46
+ def write_stampfile (self ) -> None :
47
47
with open (self .stampfile , 'w' ) as f :
48
48
pass
49
49
@@ -80,7 +80,7 @@ def _run(self, command: T.List[str]) -> int:
80
80
cwd = self .build_dir )
81
81
return p .returncode
82
82
83
- def run (args ) :
83
+ def run (args : T . List [ str ]) -> int :
84
84
parser = argparse .ArgumentParser ()
85
85
parser .add_argument ('--name' )
86
86
parser .add_argument ('--srcdir' )
You can’t perform that action at this time.
0 commit comments