Skip to content

Commit

Permalink
Merge pull request #184 from PeterJCLaw/ensure-annotations-published
Browse files Browse the repository at this point in the history
Publish type annotations
  • Loading branch information
attwad authored Dec 23, 2024
2 parents cc75636 + fdcb4d2 commit a49c219
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,26 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable

check-types-published:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
pip install build
python -m build --sdist --wheel
temp=$(mktemp -d)
python -m venv $temp/venv
source $temp/venv/bin/activate
pip install mypy ./dist/*whl
cd $temp
echo 'import pythonosc' > demo.py
mypy demo.py
File renamed without changes.

0 comments on commit a49c219

Please sign in to comment.