B
B
black_bunny2011-09-02 11:37:21
Python
black_bunny, 2011-09-02 11:37:21

Mercurial pre-commit hook code check?

Can you please tell me if there are any solutions for the simplest checking of code for errors (Python is specifically interested), and the ability to use this solution as a pre-commit hook in mercurial?
For example, do not allow code to be committed if it contains an undefined variable, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yngvie, 2011-09-03
@black_bunny

Take a look at HG hooks .
This is a set of ready-made hooks, you just need to check with pyflakes .
In addition, this set of hooks provides

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question