Commit ce2b66f8 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

More explicit class name

parent 301f9263
......@@ -6,14 +6,14 @@ import argparse
from .nbcourse import NbCourse, DEFAULT_CONFIG_FILE
from .initialize import initialize
from pathlib import Path
from .mydoit import MyDoit, ClassTaskLoader
from .mydoit import MyDoitHelp, ClassTaskLoader
def get_help_epilog() -> str:
"""Instanciate a minimal nbcourse to return help string"""
course = NbCourse()
loader = ClassTaskLoader(course)
return MyDoit(task_loader=loader).get_help()
return MyDoitHelp(task_loader=loader).get_help()
def main():
......@@ -30,7 +30,7 @@ class MyHelp(Help):
return msg
class MyDoit(DoitMain):
class MyDoitHelp(DoitMain):
"""Extend DoitMain class to add a get_help() function"""
def get_help(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment