Skip to content

Commit

Permalink
backends/ninja: Add annotation for generate_coverage_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Jul 24, 2024
1 parent 720d9fc commit d6c97b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/backend/ninjabackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ def generate_run_target(self, target: build.RunTarget):
self.add_build(elem)
self.processed_targets.add(target.get_id())

def generate_coverage_command(self, elem, outputs: T.List[str], gcovr_exe: T.Optional[str], llvm_cov_exe: T.Optional[str]):
def generate_coverage_command(self, elem: NinjaBuildElement, outputs: T.List[str], gcovr_exe: T.Optional[str], llvm_cov_exe: T.Optional[str]):
targets = self.build.get_targets().values()
use_llvm_cov = False
exe_args = []
Expand Down

0 comments on commit d6c97b1

Please sign in to comment.