Skip to content

Commit c42c422

Browse files
committed
Remove unused imports and asyncoro dependency
re and uuid imports are unused in setup.py, and asyncoro is never imported in the API. Also added pyflakes in .travis.yml to check if the problems in setup.py are fixed.
1 parent 49fb195 commit c42c422

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ python:
44
- "3.5"
55
install:
66
- pip install -r requirements.txt
7+
- pip install pyflakes
78
- pip install python-coveralls
89
- pip install coverage
910
- pip install nose
1011
script:
1112
- python setup.py install
13+
- pyflakes setup.py
1214
- nosetests --with-coverage tests
1315
after_success:
1416
- coveralls

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
asyncoro==3.5
21
requests==2.8.1
32
xmljson==0.1.6
43

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import re
2-
import uuid
3-
41
try:
52
from setuptools import setup
63
except ImportError:
@@ -25,7 +22,6 @@
2522
],
2623
keywords="Twitter Loklak Anonymous API",
2724
install_requires=[
28-
"asyncoro==3.5",
2925
"requests==2.8.1",
3026
"xmljson==0.1.6"
3127
],

0 commit comments

Comments
 (0)