I've released a new version of Flake8 that includes a commit hook for mercurial
http://pypi.python.org/pypi/flake8/
Flake8 is just a merge of the PyFlakes and the pep8 projects into one
single script.
Cheers
Tarek
--
Tarek Ziadé | http://ziade.org
Thx, see you there