Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

git pre-commit hooks #2

@a-sevin

Description

@a-sevin

GIT can provide tools to check / lint the code before creating a commit. We are using it in our simulation project COMPASS and I find it very useful.
So, I have several questions regarding hooks:

  1. Do you think it's useful?
  2. If yes, which tools to you want to check:
    a. lint: removes un-useful CR, white spaces, format the code with tools like astyle, clang-format, ...
    b. static analyse with cppcheck
    c. other in mind ?

If you want, I can put it in my branch and try it before adopting it (or not)

Cheers,

Arnaud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions