Skip to content

Commit 5db557e

Browse files
committed
TravisCI: black needs Python 3.6+
1 parent 9d9cd08 commit 5db557e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ before_install:
2020
- "if grep '\t' *.py *.rst; then echo 'Tabs are bad, please use four spaces.'; false; fi"
2121
- "if grep -n -r '[[:blank:]]$' *.py *.rst; then echo 'Please remove trailing whitespace.'; false; fi"
2222
- pip install --upgrade pip setuptools
23-
- pip install flake8 flake8-black flake8-docstrings restructuredtext-lint
23+
- pip install flake8 flake8-docstrings restructuredtext-lint
24+
- "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install flake8-black; fi"
2425
- echo "Using restructuredtext-lint to check documentation"
2526
- restructuredtext-lint *.rst
2627
- echo "Using flake8 to check Python code"

0 commit comments

Comments
 (0)