Hghooks is a project mainly written in Python, it's free.
Run pylint as a Mercurial hook
Useful Mercurial hooks, all in one place.