This repository was archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Python 3 issues #3
Copy link
Copy link
Closed
Description
tox.ini is configured to run flake8 tests on Python 2 but not on Python 3.
flake8 testing of https://github.com/IBM/pyxcli on Python 3.6.1
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./pyxcli/client.py:206:34: F821 undefined name 'basestring'
if isinstance(endpoints, basestring):
^
./pyxcli/client.py:226:34: F821 undefined name 'basestring'
if isinstance(endpoints, basestring):
^
./pyxcli/response.py:106:29: F821 undefined name 'basestring'
if isinstance(item, basestring):
^
./pyxcli/response.py:108:37: F821 undefined name 'long'
elif isinstance(item, (int, long)):
^
./pyxcli/transports.py:310:34: F821 undefined name 'basestring'
if isinstance(endpoints, basestring):
^
./pyxcli/helpers/xml_util.py:52:24: F821 undefined name 'basestring'
if isinstance(obj, basestring) or not use_repr:
^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels