Skip to content

Commit b6d141f

Browse files
Tidied comments and dropped Python 2.7 support (#6)
* tidied comments * drop support for Python 2.7 * updated travis config * added pycodestyle * tidied classes * removed weird/bad logging * tidied style * updated type sigs * fixed bad indentation * bug fix: missing char * short comment * tidied exceptions * simplified imports * fixed bad construction * fixed bad from_dict * bug fix: missing import * no travis support for 3.7
1 parent 41407f7 commit b6d141f

File tree

4 files changed

+122
-198
lines changed

4 files changed

+122
-198
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ sudo: required
33
services:
44
- docker
55
python:
6-
- '2.7'
76
- '3.5'
87
- '3.6'
98
install:
10-
- pip install mypy
9+
- pip install mypy pycodestyle
1110
- pip install .
1211
script:
12+
- pycodestyle src
1313
- mypy src --ignore-missing-imports
1414
notifications:
1515
email: false

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'Programming Language :: Python :: 3.5',
2424
'Programming Language :: Python :: 3.6',
2525
],
26-
python_requires='>=2.7',
26+
python_requires='>=3.5',
2727
install_requires=[
2828
'requests>=2.0.0',
2929
'typing>=0.4.1'

0 commit comments

Comments
 (0)