Skip to content

Commit

Permalink
check examples with black (#851)
Browse files Browse the repository at this point in the history
* check examples with black

* update CONTRIBUTING
  • Loading branch information
OriolAbril authored and canyon289 committed Oct 29, 2019
1 parent 80c7acb commit fd06f99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ tools:

```bash
$ pip install black
$ black arviz/
$ black arviz/ examples/
```

* Your code passes pylint
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ python -m pydocstyle --convention=numpy ${SRC_DIR}/arviz/
echo "Success!"

echo "Checking code style with black..."
python -m black -l 100 --check arviz/
python -m black -l 100 --check arviz/ examples/
echo "Success!"

echo "Checking code style with pylint..."
Expand Down

0 comments on commit fd06f99

Please sign in to comment.