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.app import App
|
||||||
from cliff.commandmanager import CommandManager
|
from cliff.commandmanager import CommandManager
|
||||||
|
|
||||||
|
|
||||||
class DCC(App):
|
class DCC(App):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
description="Doom Command Center",
|
description="Doom Command Center",
|
||||||
version="0.0.1",
|
version="0.0.1",
|
||||||
command_manager=CommandManager("dcc"),
|
command_manager=CommandManager("dcc"),
|
||||||
deferred_help=True,
|
deferred_help=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
def initialize_app(self, argv):
|
def initialize_app(self, argv):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def prepare_to_run_command(self, cmd):
|
def prepare_to_run_command(self, cmd):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def clean_up(self, cmd, result, err):
|
||||||
|
pass
|
||||||
|
|
||||||
def clean_up(self, cmd, result, err):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def main(argv=sys.argv[1:]):
|
def main(argv=sys.argv[1:]):
|
||||||
dcc = DCC()
|
dcc = DCC()
|
||||||
return dcc.run(argv)
|
return dcc.run(argv)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue