File tree Expand file tree Collapse file tree 10 files changed +34
-7
lines changed
Expand file tree Collapse file tree 10 files changed +34
-7
lines changed Original file line number Diff line number Diff line change 2929 run : |
3030 python -m pip install --upgrade pip
3131 python -m pip install flake8 pytest
32+ pip install -e .
3233 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3334 - name : Lint with flake8
3435 run : |
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ tests/shortlist.pickle
66.pytest_cache /
77.ruff_cache /
88shortlister /* .ipynb
9- ranked.pickle
9+ ranked.pickle
10+ dist /
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" hatchling" ]
3+ build-backend = " hatchling.build"
4+
5+ [project ]
6+ name = " shortlister"
7+ description = " Tool to assist with shortlisting applications"
8+ version = " 0.1.0"
9+ dependencies = [" PyMuPDF==1.24.13" ,
10+ " pytest==8.3.3" ,
11+ " readchar==4.2.0" ,
12+ " ruff==0.7.3" ,
13+ " tabulate==0.9.0" ,
14+ " universal-startfile==0.2" ,
15+ " pyreadline3==3.5.4" ,
16+ " pathvalidate==3.2.3" ,
17+ " openpyxl==3.1.5" ]
18+
19+ [tool .hatch .build .targets .wheel ]
20+ packages = [
21+ " src/shortlister" ,
22+ ]
23+
24+ [project .scripts ]
25+ shortlist = " shortlister.main:run"
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ def run_controller(wv_window: webview.Window=None):
3333 if wv_window is not None :
3434 wv_window .destroy ()
3535
36-
37- if cli_args .webview and webview is not None :
38- window = setup_webview ()
39- webview .start (run_controller , args = [window ])
40- else :
41- run_controller (None )
36+ def run ():
37+ if cli_args .webview and webview is not None :
38+ window = setup_webview ()
39+ webview .start (run_controller , args = [window ])
40+ else :
41+ run_controller (None )
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments