File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11mypy
2+ types-click
3+ types-tornado
4+ types-pkg-resources
5+ types-flask
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def root(
2222 show_default = False ,
2323 is_eager = True ,
2424 )
25- ):
25+ ) -> None :
2626 """Command line interface for IDOM"""
2727
2828 # reset logging config after Typer() has wrapped stdout
@@ -31,6 +31,8 @@ def root(
3131 if version :
3232 typer .echo (idom .__version__ )
3333
34+ return None
35+
3436
3537@main .command ()
3638def install (packages : List [str ]) -> None :
Original file line number Diff line number Diff line change @@ -174,8 +174,9 @@ def __init__(self) -> None:
174174 self .records : List [logging .LogRecord ] = []
175175 super ().__init__ ()
176176
177- def handle (self , record : logging .LogRecord ) -> None :
177+ def handle (self , record : logging .LogRecord ) -> bool :
178178 self .records .append (record )
179+ return True
179180
180181
181182class HookCatcher :
You can’t perform that action at this time.
0 commit comments