python: add black to test dependencies

This adds black to the contributing guide as well.
This commit is contained in:
Sean Farley 2019-07-13 14:09:39 -05:00
parent 8576e9c22e
commit b570b50836
3 changed files with 7 additions and 0 deletions

View file

@ -125,6 +125,11 @@ If you want to lint the entire code base run::
$ pylint $(find tests xonsh -name \*.py | sort)
We also use ``black`` for formatting the code base (which includes running in
our tests)::
$ black --check --exclude=xonsh/ply/ xonsh/ xontrib/
**********
Imports
**********

View file

@ -8,3 +8,4 @@ pyzmq
matplotlib
doctr
tornado
black

View file

@ -8,3 +8,4 @@ prompt-toolkit
pygments>=2.2
codecov
coverage
black