File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed
Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 env :
1414 PYTHON_ENV : ci
15- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
15+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
1616 FMP_API_KEY : ${{ secrets.FMP_API_KEY }}
1717 strategy :
1818 matrix :
Original file line number Diff line number Diff line change 1- .PHONY : lint notebook book tests
21
2+ .PHONY : help
33help :
44 @echo ================================================================================
55 @fgrep -h " ##" $(MAKEFILE_LIST ) | fgrep -v fgrep | sed -e ' s/\\$$//' | sed -e ' s/##//'
66 @echo ================================================================================
77
8+
9+ .PHONY : lint
810lint : # # Lint and fix
911 @poetry run ./dev/lint fix
1012
1113
14+ .PHONY : lint-check
1215lint-check : # # Lint check only
1316 @poetry run ./dev/lint
1417
18+
19+ .PHONY : install-dev
1520install-dev : # # Install development dependencies
1621 @./dev/install
1722
23+
24+ .PHONY : notebook
1825notebook : # # Run Jupyter notebook server
1926 @poetry run ./dev/start-jupyter 9095
2027
2128
29+ .PHONY : book
2230book : # # Build static jupyter {book}
2331 poetry run jupyter-book build notebooks --all
2432
33+
34+ .PHONY : sphinx-config
2535sphinx-config : # # Build sphinx config
2636 poetry run jupyter-book config sphinx notebooks
2737
38+
39+ .PHONY : sphinx
2840sphinx :
2941 poetry run sphinx-build notebooks path/to/book/_build/html -b html
3042
31- publish : # # release to pypi
32- @poetry publish --build -u lsbardel -p $(PYPI_PASSWORD )
3343
44+ .PHONY : publish
45+ publish : # # Release to pypi
46+ @poetry publish --build -u __token__ -p $(PYPI_TOKEN )
47+
48+
49+ .PHONY : publish-book
3450publish-book : # # publish the book to github pages
3551 poetry run ghp-import -n -p -f notebooks/_build/html
3652
37- tests : # # unit tests
53+
54+ .PHONY : tests
55+ tests : # # Unit tests
3856 @./dev/test
3957
4058
59+ .PHONY : outdated
4160outdated : # # Show outdated packages
4261 poetry show -o -a
You can’t perform that action at this time.
0 commit comments