Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Condino <[email protected]>
  • Loading branch information
mwcondino authored and clalancette committed Apr 30, 2024
1 parent 6a8f9b3 commit 9cbb36e
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 9cbb36e

Please sign in to comment.