Skip to content

Optimize Clang-Tidy using Git Diff #41

@Elan456

Description

@Elan456
  • We can just git diff to see which files have changed and only run Clang-Tidy on those files to speed up run times for pre-commit hooks.
  • It's a bit tricky though b/c some of the files are within the Avionics sub-repo which are harder to see with git diff
  • Not sure what the best solution is. Ideally we have it so that when you commit within Avionics it uses what ever repo it's within to test it self. Like a cd ../../ && pio check

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions