Closed abhinavjain241 closed 9 years ago
A better solution for maintaining code quality would be to setup Travis builds for each branch and PR that runs the above python script. It would also builds the entire package on different versions of ROS and run tests against them(if any).
About the PR:
Yeah, that would be better. Thanks for the suggestion @narayanaditya95! And sorry about that, will stash the stray commit and then rebase.
Installation procedure is easy, go to
swarm_simulator
root directory and then run:The typical process would be like:
Lets take a sample test file
Test.cpp
:Add the files:
Commit them:
If answer is
y
, then the commit will be conformed, otherwise an
will abort the commit.Commit them along with
--no-verify
option:You can always pass
--no-verify
to commit to bypass the pre-commit hook.