Skip to content

[issue1193] Update clang-tidy-16 to clang-tidy-18.#279

Merged
SimonDold merged 6 commits intoaibasel:mainfrom
remochristen:issue1193
Feb 10, 2026
Merged

[issue1193] Update clang-tidy-16 to clang-tidy-18.#279
SimonDold merged 6 commits intoaibasel:mainfrom
remochristen:issue1193

Conversation

@remochristen
Copy link
Contributor

No description provided.

Copy link

@TravisRiveraPetit TravisRiveraPetit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

)
return result.stdout.strip()
except (FileNotFoundError, subprocess.CalledProcessError):
return f"clang-format-{CLANG_FORMAT_VERSION} not found"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only FileNotFoundError means that clang-format wasn't found. CalledProcessError means it was found but resulted in an error. In this case, we should not return that it wasn't found, but some other error including the message in the exception.

@SimonDold SimonDold merged commit 8435bcb into aibasel:main Feb 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants