mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
python: add black to test dependencies
This adds black to the contributing guide as well.
This commit is contained in:
parent
8576e9c22e
commit
b570b50836
3 changed files with 7 additions and 0 deletions
|
@ -125,6 +125,11 @@ If you want to lint the entire code base run::
|
||||||
|
|
||||||
$ pylint $(find tests xonsh -name \*.py | sort)
|
$ 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
|
Imports
|
||||||
**********
|
**********
|
||||||
|
|
|
@ -8,3 +8,4 @@ pyzmq
|
||||||
matplotlib
|
matplotlib
|
||||||
doctr
|
doctr
|
||||||
tornado
|
tornado
|
||||||
|
black
|
||||||
|
|
|
@ -8,3 +8,4 @@ prompt-toolkit
|
||||||
pygments>=2.2
|
pygments>=2.2
|
||||||
codecov
|
codecov
|
||||||
coverage
|
coverage
|
||||||
|
black
|
||||||
|
|
Loading…
Add table
Reference in a new issue