Conversation
|
@JeanLucPons , with how I set up the pre-commit this is normal behaviour. You try to commit once, if there are any errors they are fixed automatically. But you need to commit a second time to apply the changes. That's how we have the formatting set up at SOLEIL for our codes also. |
gubaidulinvadim
left a comment
There was a problem hiding this comment.
I think adding a simple test with creation of an empty array will be useful.
|
OK, so we have to know that it works like that. |
|
@JeanLucPons , you need to run pre-commit install to enable it. I'm not aware of any way to make it available by default to all collaborators. I think in the hooks part of .git is not tracked and the philosophy is that everyone can configure their own hooks. |
|
OK. |
|
For me something was broken. Because new commits were pushed after I've asked for inclusion of tests. After this the review should not block anything. |
OK, that can be annoying if someone ask for a change and take one month of holidays :D |
This PR allows empty arrays to be created.
ex:
However pre-commit is true nigthmare for me, i got unexpected behaviors.
I need to learn.....
A second execution worked !