You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoking prospector with Python 3 yields a traceback like this:
File "/home/travis/virtualenv/python3.4.2/bin/prospector", line 9, in <module>
load_entry_point('prospector==0.8', 'console_scripts', 'prospector')()
File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/prospector/run.py", line 125, in main
config = ProspectorConfig()
File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/prospector/config/__init__.py", line 25, in __init__
self.libraries = self._find_used_libraries(self.config)
File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/prospector/config/__init__.py", line 140, in _find_used_libraries
for name, adaptor in autodetect_libraries(self.workdir):
File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/prospector/autodetect.py", line 142, in autodetect_libraries
if libraries < len(POSSIBLE_LIBRARIES):
TypeError: unorderable types: list() < int()
This is due to comparing libraries and len(POSSIBLE_LIBRARIES). I imagine len(libraries) < len(POSSIBLE_LIBRARIES) was intended.
The text was updated successfully, but these errors were encountered:
Invoking prospector with Python 3 yields a traceback like this:
This is due to comparing libraries and
len(POSSIBLE_LIBRARIES
). I imaginelen(libraries) < len(POSSIBLE_LIBRARIES)
was intended.The text was updated successfully, but these errors were encountered: