Skip to content

Commit

Permalink
⛩️ Mypy path and build instruction update.
Browse files Browse the repository at this point in the history
This makes it more inline with the flat layout used with poetry.
  • Loading branch information
rentruewang committed Nov 29, 2024
1 parent f726357 commit 765e985
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Publish
on: workflow_dispatch
on:
push:
tags:
- v*

jobs:
pypi-publish:
Expand All @@ -26,5 +29,8 @@ jobs:
- name: ⬇️ Python Dependencies
run: poetry install --sync

- name: 🚧 Building distributions.
run: poetry publish --build
- name: 🪶 Build with poetry
run: poetry build

- name: 📰 Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions .github/workflows/typecheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: poetry install --sync

- name: 📦 Install type stubs
run: poetry run mypy src --install-types --non-interactive
run: poetry run mypy . --install-types --non-interactive

- name: 🏃 mypy
run: poetry run mypy src
run: poetry run mypy .

0 comments on commit 765e985

Please sign in to comment.