Skip to content

Commit 6c1d2df

Browse files
committed
ci(travis): run pre-commit checks only on Python 3+
1 parent 90ef0af commit 6c1d2df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ install:
3737

3838
script:
3939
- check-manifest --ignore=tests
40-
- pre-commit run -a
40+
- if [[ $TRAVIS_PYTHON_VERSION != "2.7" ]]; then pre-commit run -a; fi
4141
- python setup.py test
4242

4343
after_success:

0 commit comments

Comments
 (0)