mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
Make pylint more strict (#1626)
* make pylint more strict * cleanup in progress * done cleaning up * no opendbc old-commit-hash: 843a64c72fb94397a1edf814fa66044c8d92acbf
This commit is contained in:
@@ -39,12 +39,12 @@ class TextWindow():
|
||||
def __del__(self):
|
||||
self.close()
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.close()
|
||||
|
||||
|
||||
class FakeTextWindow(TextWindow):
|
||||
def __init__(self, s):
|
||||
def __init__(self, s): # pylint: disable=super-init-not-called
|
||||
pass
|
||||
|
||||
def get_status(self):
|
||||
@@ -62,7 +62,7 @@ class FakeTextWindow(TextWindow):
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user