diff options
author | Tristan Partin <tristan@partin.io> | 2023-07-12 17:56:18 -0500 |
---|---|---|
committer | Tristan Partin <tristan@partin.io> | 2023-07-12 18:56:06 -0500 |
commit | 33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf (patch) | |
tree | 441f9e319ee99b27bc1c051e204923cf57488892 /mesonbuild/compilers/vala.py | |
parent | dc692d98fc48f8d5c6ea528adc6dce481412b02f (diff) | |
download | meson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.zip meson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.tar.gz meson-33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf.tar.bz2 |
Match the method signatures of parent classes
Names and types of some methods did not match their parent methods.
Diffstat (limited to 'mesonbuild/compilers/vala.py')
-rw-r--r-- | mesonbuild/compilers/vala.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/vala.py b/mesonbuild/compilers/vala.py index e1477b9..c6af04a 100644 --- a/mesonbuild/compilers/vala.py +++ b/mesonbuild/compilers/vala.py @@ -46,7 +46,7 @@ class ValaCompiler(Compiler): def get_debug_args(self, is_debug: bool) -> T.List[str]: return ['--debug'] if is_debug else [] - def get_output_args(self, target: str) -> T.List[str]: + def get_output_args(self, outputname: str) -> T.List[str]: return [] # Because compiles into C. def get_compile_only_args(self) -> T.List[str]: @@ -64,7 +64,7 @@ class ValaCompiler(Compiler): def get_always_args(self) -> T.List[str]: return ['-C'] - def get_warn_args(self, warning_level: str) -> T.List[str]: + def get_warn_args(self, level: str) -> T.List[str]: return [] def get_no_warn_args(self) -> T.List[str]: |