Skip to content

Commit 3204035

Browse files
author
hackermd
committed
Update dependencies and test configs for Python 3
1 parent f0902bd commit 3204035

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ install:
1313
- "pip install --upgrade setuptools pip"
1414
- "pip install -r requirements_test.txt"
1515
- "pip install ."
16-
script: pytest --flake8 -v
16+
script:
17+
- pytest --flake8 -v

requirements_test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
pytest==4.6.5
1+
mypy==0.720
2+
pytest==5.0.1
23
pytest-flake8==1.0.4
34
pytest-localserver==0.5.0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
test=pytest
33
[tool:pytest]
44
flake8-max-line-length = 80
5-
flake8-ignore = E402 F401 W504
5+
flake8-ignore = E402 F401 W504 E121 E125

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
'Topic :: Internet :: WWW/HTTP',
2929
'Topic :: Multimedia :: Graphics',
3030
'Topic :: Scientific/Engineering :: Information Analysis',
31-
'Programming Language :: Python :: 2.7',
3231
'Programming Language :: Python :: 3',
3332
'Development Status :: 4 - Beta',
3433
],
@@ -49,11 +48,13 @@
4948
'sphinx_rtd_theme>=0.2.4'
5049
],
5150
'gcp': [
52-
'google>=2.0',
51+
'google-auth>=1.6',
52+
'google-oauth>=1.0',
5353
]
5454
},
5555
tests_require=[
56-
'pytest>=4.6',
56+
'mypy>=0.7',
57+
'pytest>=5.0',
5758
'pytest-localserver>=0.5',
5859
'pytest-flake8>=1.0',
5960
'tox>=3.13',

0 commit comments

Comments
 (0)