Skip to content

Linter setup#23

Merged
m-olko merged 8 commits intomainfrom
linter_setup
Nov 20, 2025
Merged

Linter setup#23
m-olko merged 8 commits intomainfrom
linter_setup

Conversation

@m-olko
Copy link
Contributor

@m-olko m-olko commented Nov 17, 2025

This PR

Adds github action for automatic clang-tidy and clang-format. Adds command_extractor as dependency for creation compile_commands.json database.

How to test

To create database for linting locally, run: bazel run @hedron_compile_commands//:refresh_all

Signed-off-by: Marcin Olko <molko@google.com>
Signed-off-by: Marcin Olko <molko@google.com>
…d unnecessary dependency

Signed-off-by: Marcin Olko <molko@google.com>
Signed-off-by: Marcin Olko <molko@google.com>
@m-olko m-olko changed the title Linter setup [WIP] Linter setup Nov 17, 2025
@m-olko m-olko marked this pull request as ready for review November 17, 2025 16:15
@m-olko m-olko requested review from a team as code owners November 17, 2025 16:15
Signed-off-by: m-olko <molko@google.com>
Signed-off-by: Marcin Olko <molko@google.com>
Copy link
Contributor

@oxddr oxddr left a comment

Choose a reason for hiding this comment

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

I'd remove the previous linter - the new one, with comments, works much nicer.

Also, please wait with merging this PR until we have the one setting up Bazel.

Signed-off-by: Marcin Olko <molko@google.com>
Signed-off-by: m-olko <molko@google.com>
@m-olko m-olko requested a review from oxddr November 19, 2025 15:42
@m-olko m-olko changed the title [WIP] Linter setup Linter setup Nov 19, 2025
@m-olko m-olko merged commit 92069c2 into main Nov 20, 2025
1 check passed
@m-olko m-olko deleted the linter_setup branch November 20, 2025 11:07
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.

2 participants