./Python/setup.py:2:1: F401 'setuptools' imported but unused./Python/intelxapi.py:7:1: F401 're' imported but unused./Python/intelxapi.py:139:9: E722 do not use bare 'except'./Python/intelxapi.py:506:20: E712 comparison to False should be 'if cond is False:' or 'if not cond:'./Python/intelxapi.py:529:20: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
The following changes are outstanding:
$ flake8 ./Python | grep -v "E501"
./Python/setup.py:2:1: F401 'setuptools' imported but unused
./Python/intelxapi.py:7:1: F401 're' imported but unused
./Python/intelxapi.py:139:9: E722 do not use bare 'except'
./Python/intelxapi.py:506:20: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
./Python/intelxapi.py:529:20: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
I have also omitted changes for
E501 line too long
as I intend to automate this using https://github.com/psf/black/blob/main/docs/the_black_code_style/current_style.md#line-length