Skip to content

Commit

Permalink
Use black only for Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Feb 12, 2020
1 parent 2f044e1 commit 55dca99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ source .anaconda$PYTHON_VERSION32/bin/activate
set -x

# black
pip_install -U black
black --check .
if [ "$PYTHON_VERSION32" = "3" ]; then
pip_install -U black
black --check .
fi

# flake8
pip install -U flake8 zimports
Expand Down

0 comments on commit 55dca99

Please sign in to comment.