File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
scaffolding/project_template/project_name Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ repos:
1414 name : Code Formatting
1515 entry : " make fmt"
1616 types : [python]
17- language_version : python3.6
17+ language_version : python3.8
1818 language : python
1919 - id : code_linting
2020 args : [ ]
2121 name : Code Linting
2222 entry : " make lint"
2323 types : [ python ]
24- language_version : python3.6
24+ language_version : python3.8
2525 language : python
2626- repo : https://github.com/pre-commit/pre-commit-hooks
2727 rev : v2.3.0
Original file line number Diff line number Diff line change 11"""Ellar CLI Tool for Scaffolding Ellar Projects, Modules and also running Ellar Commands"""
22
3- __version__ = "0.1.0 "
3+ __version__ = "0.1.2 "
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def typer_callback(
4040 ctx .meta [ELLAR_META ] = meta_
4141
4242
43- def build_typers () -> None :
43+ def build_typers () -> t . Any :
4444 try :
4545 options , args = getopt .getopt (
4646 sys .argv [1 :],
@@ -53,7 +53,8 @@ def build_typers() -> None:
5353 if k in ["-p" , "--project" ] and v :
5454 app_name = v
5555 except Exception :
56- raise typer .Abort ()
56+ typer .Abort ()
57+ return 1
5758
5859 meta_ : t .Optional [EllarCLIService ] = EllarCLIService .import_project_meta (app_name )
5960
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ application = AppFactory.create_from_app_module(
1010 config_module=os.environ.get(
1111 ELLAR_CONFIG_MODULE, "{{project_name}}.config:DevelopmentConfig"
1212 ),
13+ global_guards=[]
1314)
1415
1516# uncomment this section if you want API documentation
You can’t perform that action at this time.
0 commit comments