File tree Expand file tree Collapse file tree 5 files changed +133
-32
lines changed
Expand file tree Collapse file tree 5 files changed +133
-32
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 publish :
12+ permissions :
13+ contents : write
14+
1215 runs-on : ubuntu-latest
1316 timeout-minutes : 30
1417
Original file line number Diff line number Diff line change 1+ name : Mypy
2+ on : [push]
3+
4+ jobs :
5+ Static-Type-Checking :
6+ runs-on : ubuntu-latest
7+ strategy :
8+ max-parallel : 5
9+ matrix :
10+ python-version : ["3.10", "3.11", "3.12"]
11+
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Set up Python ${{ matrix.python-version }}
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ${{ matrix.python-version }}
18+ - name : Install system packages
19+ run : sudo apt-get install -y portaudio19-dev
20+ - name : Display Python version
21+ run : python -c "import sys; print(sys.version)"
22+ - name : Install dependencies
23+ run : |
24+ curl -LsSf https://astral.sh/uv/install.sh | sh
25+ - name : Type-checking package with mypy
26+ run : |
27+ uv run --all-extras mypy --strict .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ description = "Your package description"
44readme = " README.md"
55requires-python = " >=3.10"
66dependencies = [
7+ " pydantic" ,
78]
89dynamic = [" version" ]
910
You can’t perform that action at this time.
0 commit comments