upgrade flake8, pin flake8-pyi version (#2001)

I'd prefer to pin the exact flake8-pyi version so that test runs are more reproducible.
This commit is contained in:
Jelle Zijlstra
2018-04-03 07:16:34 -07:00
committed by GitHub
parent 603be5e1da
commit 0af84cd9a0
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ matrix:
install:
# pytype needs py-2.7, mypy needs py-3.3+. Additional logic in runtests.py
- if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then pip install -U flake8==3.3.0 flake8-bugbear>=17.3.0 flake8-pyi>=17.1.0; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then pip install -r requirements-tests-py3.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then pip install -U git+git://github.com/python/mypy git+git://github.com/python/typed_ast; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -U git+git://github.com/google/pytype; wget https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.6.tar.bz2; sudo tar xjf python-3.6.tar.bz2 --directory /; fi

View File

@@ -1,5 +1,5 @@
git+https://github.com/python/mypy.git@master
typed-ast>=1.0.4
flake8==3.3.0
flake8-bugbear>=17.3.0
flake8-pyi>=17.1.0
flake8==3.5.0
flake8-bugbear==18.2.0
flake8-pyi>=18.3.1