mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix W0221 emptyline override
Package advises override, see !233 for doc reference.
This commit is contained in:
parent
0c540293d8
commit
db70f9ae20
@ -21,12 +21,12 @@ class MainPrompt(cmd.Cmd):
|
||||
# overrides the default Prompt
|
||||
prompt = f"Crafty Controller v{helper.get_version_string()} > "
|
||||
|
||||
# see MR !233 for pylint exemptino reason
|
||||
@staticmethod
|
||||
def emptyline():
|
||||
def emptyline(): # pylint: disable=arguments-differ
|
||||
pass
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
def do_exit(self, line):
|
||||
def do_exit(self, _line):
|
||||
self.tasks_manager._main_graceful_exit()
|
||||
self.universal_exit()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user