Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
permissions:
id-token: write
attestations: write

strategy:
matrix:
Expand All @@ -74,6 +77,5 @@ jobs:
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
attestations: true
skip-existing: true
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_rst_tag_renders_toc_only(settings):
## Coding Standards

- Always include `from __future__ import annotations` at the top of Python files
- Prefer namespace imports (`import typing as t`; `import enum`) over `from module import ...`
- Prefer namespace imports for stdlib (`import typing as t`; `import enum`); third-party packages may use `from X import Y`
- Follow NumPy-style docstrings for functions and methods
- Ruff enforces formatting; use `ruff format` before committing
- Type hints are required; keep mypy strictness in mind and add `TypedDict`/`Protocol` as needed
Expand Down
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ $ uvx --from 'django-docutils' --prerelease allow django-docutils
_Upcoming changes will be written here._
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->

### CI

- Migrate to PyPI Trusted Publisher (#447)

### Documentation

- Visual improvements to API docs from [gp-sphinx](https://gp-sphinx.git-pull.com)-based Sphinx packages (#453)
Expand Down
Loading