pre-commit is a git hooks framework which does lots of useful things
before you commit, like validating lint and codespell -- easy things to
forget, especially in a post-codespell world.
Related-bug: 2047654
Change-Id: I22738f9dceebe194e5aedff8815cd786013de456