File tree Expand file tree Collapse file tree 8 files changed +98
-5
lines changed
Expand file tree Collapse file tree 8 files changed +98
-5
lines changed Original file line number Diff line number Diff line change 1+ enhancement :
2+ - all :
3+ - changed-files :
4+ - any-glob-to-any-file : ' src/**/*'
5+ - all-globs-to-all-files :
6+ - ' !src/fastapi_fastkit/fastapi_project_template/*'
7+ - ' src/fastapi_fastkit/fastapi_project_template/README.md'
8+
9+ template :
10+ - all :
11+ - changed-files :
12+ - any-glob-to-any-file :
13+ - ' src/fastapi_fastkit/fastapi_project_template/*'
14+ - ' !src/fastapi_fastkit/fastapi_project_template/README.md'
Original file line number Diff line number Diff line change 1+ name-template : ' v$NEXT_MINOR_VERSION 🌈'
2+ tag-template : ' v$NEXT_MINOR_VERSION'
3+ categories :
4+ - title : ' 🚀 Features'
5+ labels :
6+ - ' feature'
7+ - ' enhancement'
8+ - title : ' 🐛 Bug Fixes'
9+ labels :
10+ - ' fix'
11+ - ' bug'
12+ - title : ' 🔄 New & Modified FastAPI Templates'
13+ labels :
14+ - ' template'
15+ - title : ' 🧰 Maintenance & Documentation'
16+ labels :
17+ - ' chore'
18+ - ' documentation'
19+ change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
20+ change-title-escapes : ' \<*_&'
21+ template : |
22+ ## Changes
23+
24+ $CHANGES
Original file line number Diff line number Diff line change 1+ name : " Pull Request Labeler"
2+ on :
3+ - pull_request_target
4+
5+ jobs :
6+ labeler :
7+ permissions :
8+ contents : read
9+ pull-requests : write
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/labeler@v5
Original file line number Diff line number Diff line change 1+ name : Release Drafter
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ pull_request :
9+ types : [opened, reopened, synchronize]
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ update_release_draft :
16+ permissions :
17+ contents : write
18+ pull-requests : write
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : release-drafter/release-drafter@v6
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- name : test sources before merge
1+ # TODO : add test job - using coverage
2+ name : test sources before publish
23on :
3- pull_request :
4+ push :
45 branches :
56 - main
7+ pull_request :
8+ types :
9+ - opened
10+ - synchronize
611
712jobs :
813 test-fastapi-fastkit-sources :
914 runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ python-version :
18+ - " 3.13" # max
19+ - " 3.12"
20+ - " 3.11"
21+ - " 3.10"
22+ - " 3.9"
23+ - " 3.8" # min
24+ fail-fast : false
1025 steps :
1126 - name : Checkout code
1227 uses : actions/checkout@v4
28+ - name : Set up Python
29+ uses : actions/setup-python@v4
30+ with :
31+ python-version : ${{ matrix.python-version }}
32+ - name : Install dependencies
33+ run : pdm install
Original file line number Diff line number Diff line change 11[project ]
22name = " FastAPI-fastkit"
3- version = " 0.1.1 "
3+ dynamic = [ " version " ]
44description = " Fast, easy-to-use starter kit for new users of Python and FastAPI"
55authors = [
66 {name = " bnbong" , email = " bbbong9@gmail.com" },
Original file line number Diff line number Diff line change 1- __version__ = "0.1.1 "
1+ __version__ = "0.1.2 "
22
33import os
44
Original file line number Diff line number Diff line change @@ -398,7 +398,6 @@ def runserver(
398398 reload : bool = True ,
399399 workers : int = 1 ,
400400) -> None :
401- # TODO : check where main.py is located and run it
402401 """
403402 Run the FastAPI server for the current project.
404403 [1.1.0 update TODO] Alternative Point : using FastAPI-fastkit's 'fastapi dev' command
You can’t perform that action at this time.
0 commit comments