Skip to content
Merged
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
14 changes: 10 additions & 4 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.x"
- name: Install hatch
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
name: python-package-distributions
path: dist/
- name: Publish distribution πŸ“¦ to PyPI
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

github-release:
name: >-
Expand All @@ -71,7 +71,7 @@ jobs:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@5b79a39c381910c090341a2c9b0bf022c8b387e1 #v3.4.0
uses: sigstore/gh-action-sigstore-python@790bc6befb9d733738f18d8f895854b453640ec9 #v3.5.0
with:
inputs: >-
./dist/*.tar.gz
Expand Down Expand Up @@ -115,6 +115,12 @@ jobs:
name: python-package-distributions
path: dist/
- name: Publish distribution πŸ“¦ to TestPyPI
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
Comment thread
sophiagavrila marked this conversation as resolved.
with:
repository-url: https://test.pypi.org/legacy/
# This job runs on every push, but the project version only changes at
# release time, so most runs re-upload an already-published file and
# TestPyPI rejects it with "400 File already exists". Skip files that
# are already there instead of failing the build. Deliberately not set
# on the real PyPI job, where a duplicate upload should fail loudly.
skip-existing: true
2 changes: 1 addition & 1 deletion .github/workflows/pyright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,21 @@ lint.ignore = [
"W191", "E111", "E114", "E117", "D206", "D300", "Q000", "Q001", "Q002", "Q003", "COM812", "COM819", "ISC001", "ISC002",
# Conflicts with other rule, choosing one
"D203", "D213",
# Stabilised out of preview in ruff 0.16 and pulled in by "ALL".
# This project does not use per-file copyright headers, and the public
# AnnotatedLogger constructor keeps its positional signature for
# backwards compatibility.
"CPY001", "PLR0917",
]

[tool.ruff.format]
# ruff 0.16 began formatting Python code blocks embedded in Markdown. The
# README's ```python blocks deliberately show sample JSON log output beneath
# the source; the formatter parses those lines as Python and rewrites them
# into multi-line dict literals, destroying the documentation. Keep Markdown
# out of the formatter.
exclude = ["*.md"]

[tool.ruff.lint.per-file-ignores]
"test/*" = ["E501", "D10", "ANN", "S101", "PLR2004"]

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - requests
#

certifi==2026.6.17
certifi==2026.7.22
# via requests
charset-normalizer==3.4.9
# via requests
Expand Down
16 changes: 8 additions & 8 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
# - requests
#

certifi==2026.6.17
certifi==2026.7.22
# via requests
cfgv==3.5.0
# via pre-commit
charset-normalizer==3.4.9
# via requests
coverage==7.15.1
coverage==7.15.4
# via
# hatch.envs.dev
# pytest-cov
distlib==0.4.3
# via virtualenv
filelock==3.29.7
filelock==3.32.2
# via virtualenv
freezegun==1.5.5
# via pytest-freezer
Expand All @@ -47,15 +47,15 @@ nodeenv==1.10.0
# via
# pre-commit
# pyright
packaging==26.2
packaging==26.3
# via pytest
platformdirs==4.10.0
platformdirs==4.11.0
# via virtualenv
pluggy==1.6.0
# via
# pytest
# pytest-cov
pre-commit==4.6.0
pre-commit==4.6.1
# via hatch.envs.dev
pychoir==0.0.30
# via hatch.envs.dev
Expand Down Expand Up @@ -93,7 +93,7 @@ requests==2.34.2
# requests-mock
requests-mock==1.12.1
# via hatch.envs.dev
ruff==0.15.21
ruff==0.16.1
# via hatch.envs.dev
six==1.17.0
# via python-dateutil
Expand All @@ -103,5 +103,5 @@ typing-extensions==4.16.0
# pyright
urllib3==2.7.0
# via requests
virtualenv==21.6.1
virtualenv==21.7.1
# via pre-commit
Loading