PEP 8 compliance.
This commit is contained in:
parent
80070e3a5e
commit
69ce445225
1 changed files with 19 additions and 16 deletions
35
dcc/main.py
35
dcc/main.py
|
@ -3,27 +3,30 @@ import sys
|
|||
from cliff.app import App
|
||||
from cliff.commandmanager import CommandManager
|
||||
|
||||
|
||||
class DCC(App):
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
description="Doom Command Center",
|
||||
version="0.0.1",
|
||||
command_manager=CommandManager("dcc"),
|
||||
deferred_help=True,
|
||||
)
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
description="Doom Command Center",
|
||||
version="0.0.1",
|
||||
command_manager=CommandManager("dcc"),
|
||||
deferred_help=True,
|
||||
)
|
||||
|
||||
def initialize_app(self, argv):
|
||||
pass
|
||||
def initialize_app(self, argv):
|
||||
pass
|
||||
|
||||
def prepare_to_run_command(self, cmd):
|
||||
pass
|
||||
def prepare_to_run_command(self, cmd):
|
||||
pass
|
||||
|
||||
def clean_up(self, cmd, result, err):
|
||||
pass
|
||||
|
||||
def clean_up(self, cmd, result, err):
|
||||
pass
|
||||
|
||||
def main(argv=sys.argv[1:]):
|
||||
dcc = DCC()
|
||||
return dcc.run(argv)
|
||||
dcc = DCC()
|
||||
return dcc.run(argv)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
sys.exit(main())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue