Skip to content

Commit 276dca5

Browse files
committed
Merge branch 'main' of github.com:ProKil/python_project_template
2 parents cb19e64 + 5b39073 commit 276dca5

File tree

5 files changed

+133
-32
lines changed

5 files changed

+133
-32
lines changed

.github/workflows/docs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ env:
99

1010
jobs:
1111
publish:
12+
permissions:
13+
contents: write
14+
1215
runs-on: ubuntu-latest
1316
timeout-minutes: 30
1417

.github/workflows/mypy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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 .

.github/workflows/tests.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description = "Your package description"
44
readme = "README.md"
55
requires-python = ">=3.10"
66
dependencies = [
7+
"pydantic",
78
]
89
dynamic = ["version"]
910

0 commit comments

Comments
 (0)