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

git pre-commit hooks #2

Open
a-sevin opened this issue Dec 18, 2017 · 1 comment
Open

git pre-commit hooks #2

a-sevin opened this issue Dec 18, 2017 · 1 comment

Comments

@a-sevin
Copy link
Member

a-sevin commented Dec 18, 2017

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

@oguyon
Copy link
Member

oguyon commented Dec 18, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants