google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

chore: use isinstance() instead of type comparison

Open parthea opened this issue 3 years ago • 0 comments

Fixes warning from flake8 . --select E721

(py39) partheniou@partheniou-vm-2:~/git/google-api-python-client$ flake8 . --select E721
./googleapiclient/model.py:177:28: E721 do not compare types, use 'isinstance()'
./googleapiclient/model.py:396:37: E721 do not compare types, use 'isinstance()'
./googleapiclient/discovery.py:701:24: E721 do not compare types, use 'isinstance()'
./googleapiclient/discovery.py:712:24: E721 do not compare types, use 'isinstance()'
./googleapiclient/discovery.py:1078:66: E721 do not compare types, use 'isinstance()'

parthea avatar May 06 '22 15:05 parthea