File tree Expand file tree Collapse file tree
src/fair_python_cookiecutter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ jobs:
6262 - name : Install poetry
6363 run : pipx install poetry
6464
65- - name : Install cookiecutter
66- run : pip install cookiecutter==2.1.1
65+ - name : Install fair-python- cookiecutter (from local copy)
66+ run : pip install "./$FAIR_TEMPLATE_DIR"
6767
6868 - name : Instantiate demo repository
69- run : cookiecutter $FAIR_TEMPLATE_DIR --no-input --config-file=$FAIR_TEMPLATE_CONFIG
69+ run : fair-python- cookiecutter --no-input --config-file=$FAIR_TEMPLATE_CONFIG --repo-url=https://github.com/Materials-Data-Science-and-Informatics/fair-python-cookiecutter-demo
7070
7171 # ----
7272
Original file line number Diff line number Diff line change @@ -96,10 +96,10 @@ def main(
9696 # confirm / complete values
9797 prompt_config (ccconf )
9898
99- if not dry_run and Confirm .ask (SAVE_QUESTION , default = False ):
100- # update config
101- ccconf .save ()
102- print (f"\n [i]Your settings were saved in { ccconf .config_path ()} ![/i]" )
99+ if not dry_run and Confirm .ask (SAVE_QUESTION , default = False ):
100+ # update config
101+ ccconf .save ()
102+ print (f"\n [i]Your settings were saved in { ccconf .config_path ()} ![/i]" )
103103
104104 # check values after all the tweaking
105105 ccconf .fair_python_cookiecutter .check ()
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ fair_python_cookiecutter:
1010 project_license : " Unlicense"
1111 project_version : " 0.1.2"
1212 project_description : TODO - add description
13- project_keywords : test keywords
13+ project_keywords : TODO add keywords
1414
1515 init_cli : true
16- init_api : true
16+ init_api : true
You can’t perform that action at this time.
0 commit comments