File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,28 +46,25 @@ jobs:
4646 with :
4747 python-version : " 3.8"
4848
49- - run : find | sort
50-
49+ # - run: find | sort
5150 - uses : actions/checkout@v3
5251 # with:
53- # path: app/dev
52+ # path: app/dev
53+ # Adding above forces pre-pending filepaths below w/ 'app/dev/filepath'
5454
5555 - uses : actions/checkout@v3
5656 name : Check out master
5757 with :
5858 ref : ' refs/heads/master'
59- path : master
60- # path: '${{ github.workspace }}/master'
61-
59+ path : master
6260
63- # TODO: mv 'python3 app/dev/src/db.py master'
61+ # TODO: change to 'python3 app/dev/src/db.py master' per actions/checkout@3
6462 - name : Build JSON DB
6563 run : |
6664 python3 -m pip install -r src/requirements.txt
6765 echo master
6866 python3 src/db.py master
6967
70- #
7168 - name : Remove JSON pre-prod
7269 run : |
7370 rm -rf src/docs/sample_db_pre.json
Original file line number Diff line number Diff line change 77import pathlib
88import sys
99import pprint
10- pp = pprint .PrettyPrinter (indent = 4 )
11- pp .pprint
10+ from datetime import datetime
11+ # pp = pprint.PrettyPrinter(indent=4)
12+ # pp.pprint
1213
1314def make_json_list (basedir :str ):
1415 ''' Walk basedir and create list of all filepaths to JSON code samples.'''
Original file line number Diff line number Diff line change 1717 < div url > </ div >
1818 </ li >
1919 </ template >
20+ < div id ="digital-clock "> </ div >
2021{% endblock %}
You can’t perform that action at this time.
0 commit comments