Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcondino committed Jul 26, 2022
1 parent af6c1cb commit c82bd45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ament_clang_tidy/ament_clang_tidy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def start_subprocess(full_cmd):
file=sys.stderr)
# Attempt to recover output, if any was found (eg - if
# WarningsAsErrors was specified in the config file).
output = e.output.decode("utf-8")
output = e.output.decode('utf-8')
return output

files = []
Expand Down Expand Up @@ -206,7 +206,8 @@ def start_subprocess(full_cmd):
for compilation_db in compilation_dbs:
package_dir = os.path.dirname(compilation_db)
package_name = os.path.basename(package_dir)
print(f"found compilation database for package '{package_name}' at '{compilation_db}'") (source_files, output) = invoke_clang_tidy(compilation_db)
print(f"found compilation database for package '{package_name}' at '{compilation_db}'")
(source_files, output) = invoke_clang_tidy(compilation_db)
files += source_files
outputs.append(output)
pool.close()
Expand Down

0 comments on commit c82bd45

Please sign in to comment.