Skip to content

Commit

Permalink
try skipping black on pypy3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Lavergne committed Mar 8, 2020
1 parent 31d8b24 commit 2147008
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ matrix:
dist: bionic
- python: pypy3

before_install:
- if [ $TRAVIS_OS_NAME != pypy3 ]; then pip install black; fi
- pip install coverage coveralls flake8 sphinx sphinx-argparse

install:
- pip install . black coverage coveralls flake8 sphinx sphinx-argparse
- pip install .

script:
- make flake
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ dfm_source_3 := "https://raw.githubusercontent.com/google/diff-match-patch/maste
all: coverage flake

flake:
ifneq (, $(shell which black))
black --check .
endif
flake8 tests xmldiff --exclude *diff_match_patch*.py --ignore=E231,E501,W503

coverage:
Expand Down

0 comments on commit 2147008

Please sign in to comment.