Static check results in "local variable 'exc' is assigned to but never used"
[updated to 2.0.0] now additionally "[checks] for unused exception binding in except:
block", causing the following lint errors:
STATIC CHECKS
* /path/to/stem/descriptor/reader.py
line 515 - local variable 'exc' is assigned to but never used | except TypeError as exc:
* /path/to/stem/util/system.py
line 1327 - local variable 'exc' is assigned to but never used | except CallTimeoutError as exc:
* /path/to/stem/interpreter/__init__.py
line 148 - local variable 'exc' is assigned to but never used | except (KeyboardInterrupt, stem.SocketClosed) as exc:
line 172 - local variable 'exc' is assigned to but never used | except stem.SocketClosed as exc:
line 184 - local variable 'exc' is assigned to but never used | except (KeyboardInterrupt, EOFError, stem.SocketClosed) as exc:
line numbers as of [[https://gitweb.torproject.org/stem.git/tree/stem/?id=3818cf41cae98ae7558f5002ef3a5152ede5b2fb|3818cf41cae98ae7558f5002ef3a5152ede5b2fb]]
Strangely, those only appear for py35 runs - I didn't see them in my py27 runs. Not sure why that is.