Add a pre-commit config file
and document it briefly in the README file.
This comes with a few checkers:
- flake8
- trailing-whitespace
- check-json
- check-yaml
- codespell
see https://pre-commit.com/ for more details.
Related to swh-environment#1881 (closed).
foldme
Migrated from D1705 (view on Phabricator)