Skip to content

Tighten docstrings: drop em-dashes and AI-ish filler #97

Tighten docstrings: drop em-dashes and AI-ish filler

Tighten docstrings: drop em-dashes and AI-ish filler #97

Workflow file for this run

name: PyPI
on:
pull_request:
branches: [main]
push:
branches: [main]
release:
types: [published]
jobs:
build:
name: build and inspect the package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@d44ca7d91762de7a7d5436ddae667c6da6d1c3df # v2.18.0
publish:
name: upload release to PyPI
needs: [build]
runs-on: ubuntu-latest
if: github.repository_owner == 'pymc-devs' && github.event_name == 'release' && github.event.action == 'published'
# Use the `release` GitHub environment to protect the Trusted Publishing (OIDC)
# workflow by requiring signoff from a maintainer.
environment: release
permissions:
# write id-token is necessary for trusted publishing (OIDC)
id-token: write
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: Packages
path: dist
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0