File tree Expand file tree Collapse file tree 7 files changed +25
-5
lines changed
Expand file tree Collapse file tree 7 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 2828 uses : astral-sh/setup-uv@v5
2929 with :
3030 # Install a specific version of uv.
31- version : " 0.5.1 "
31+ version : " 0.6.14 "
3232 enable-cache : true
3333 cache-dependency-glob : " uv.lock"
3434 - name : Set up Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 2020 uses : astral-sh/setup-uv@v5
2121 with :
2222 # Install a specific version of uv.
23- version : " 0.5.1 "
23+ version : " 0.6.14 "
2424 enable-cache : true
2525 cache-dependency-glob : " uv.lock"
2626 - name : Install Documentation dependencies
Original file line number Diff line number Diff line change 2020 uses : astral-sh/setup-uv@v5
2121 with :
2222 # Install a specific version of uv.
23- version : " 0.5.1 "
23+ version : " 0.6.14 "
2424 enable-cache : true
2525 cache-dependency-glob : " uv.lock"
2626 - name : Install Documentation dependencies
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : actions/checkout@v4
2121 - uses : psf/black@stable
22+ pyright :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ - name : Install uv
27+ uses : astral-sh/setup-uv@v5
28+ with :
29+ # Install a specific version of uv.
30+ version : " 0.6.14"
31+ enable-cache : true
32+ cache-dependency-glob : " uv.lock"
33+ - name : Install the project
34+ run : uv sync --all-extras --dev
35+ - run : echo "$PWD/.venv/bin" >> $GITHUB_PATH
36+ - uses : jakebailey/pyright-action@v2
37+ with :
38+ pylance-version : latest-release
Original file line number Diff line number Diff line change 2020 uses : astral-sh/setup-uv@v5
2121 with :
2222 # Install a specific version of uv.
23- version : " 0.5.1 "
23+ version : " 0.6.14 "
2424 enable-cache : true
2525 cache-dependency-glob : " uv.lock"
2626 - name : Install Documentation dependencies
Original file line number Diff line number Diff line change 1313 uses : astral-sh/setup-uv@v5
1414 with :
1515 # Install a specific version of uv.
16- version : " 0.5.5 "
16+ version : " 0.6.14 "
1717 - name : Install the project
1818 run : uv sync --all-extras --dev
1919 - name : Build distribution 📦
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ exclude = [
5959[tool .ruff .lint ]
6060dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
6161
62+ [tool .pyright ]
63+ include = [" src" ]
64+
6265[tool .coverage .run ]
6366include = [" src/kirin/*" ]
6467
You can’t perform that action at this time.
0 commit comments