Skip to content

Commit 2a9f2cd

Browse files
authored
Merge pull request maxmind#83 from maxmind/greg/require-yapf-0.28.0
Require older yapf
2 parents 02834b2 + 84f0e30 commit 2a9f2cd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ matrix:
1010
dist: trusty
1111
- python: 3.7
1212
dist: xenial
13+
- python: 3.8
14+
dist: xenial
1315
env:
1416
- RUN_SNYK=1
1517
- RUN_LINTER=1
@@ -34,7 +36,9 @@ before_install:
3436
- "if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then sudo apt-get install -y nodejs; npm install -g snyk; fi"
3537
install:
3638
- pip install -r requirements.txt
37-
- pip install requests_mock pylint coveralls yapf
39+
# We require yapf 0.28.0 to work around https://github.com/google/yapf/issues/781
40+
# If that issue is resolved, we should remove the version constraint.
41+
- pip install requests_mock pylint coveralls yapf==0.28.0
3842
- "if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then snyk test --org=maxmind; fi"
3943
script:
4044
- coverage run --source=geoip2 setup.py test

0 commit comments

Comments
 (0)