Add pre-commit to dev dependencies, document it and pre-commit in CONTRIBUTING

Now that we have a Black pre-commit hook (#3138),
ensure pre-commit gets installed on ``pip install -e .[dev]``
and document use of Black (rather than "try to follow pep8")
in CONTRIBUTING.
This commit is contained in:
jab 2019-05-23 14:51:38 +00:00
parent d3e1fed777
commit 33379155f6
2 changed files with 7 additions and 5 deletions

View file

@ -50,6 +50,7 @@ setup(
"sphinx",
"pallets-sphinx-themes",
"sphinxcontrib-log-cabinet",
"pre-commit",
],
"docs": ["sphinx", "pallets-sphinx-themes", "sphinxcontrib-log-cabinet"],
},