Hi there. I'm looking for a mercurial hook that stop the current commit if a linter (mainly pylint, but could be other) show error over the current changeset. What i've found till now is something that do this for the entire file. Also, i've found a little described solution with Paver, but i didn't got the trick to put it to run, cause there is no examples. Write it by myself would work too, but how can i get only the changeset and run the linter over this changeset, or get the pylint errors for that changeset (run pylint over all file, but get the errors only in that changeset)?
Thanks. Diogo Paschoal.
_______________________________________________ Mercurial mailing list Mercurial@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial