Fix Python2.6 coverage.
Some out-of-the-box hooks for pre-commit.
See also: https://github.com/pre-commit/pre-commit