Skip to content

Commit 627ddc3

Browse files
authored
Merge branch 'master' into docs/custom-commitizen-package-install
2 parents 08b6979 + de5c7a9 commit 627ddc3

File tree

11 files changed

+530
-829
lines changed

11 files changed

+530
-829
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
contents: read
1114
steps:
1215
- uses: actions/checkout@v6
1316
with:
@@ -17,5 +20,5 @@ jobs:
1720
uses: astral-sh/setup-uv@v7
1821
- name: Build
1922
run: uv build
20-
- name: Publish
21-
run: uv publish
23+
- name: Publish package to PyPI
24+
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ select = [
229229
"TC006",
230230
]
231231
ignore = ["E501", "D1", "D415"]
232+
extend-safe-fixes = [
233+
"TC", # Move imports inside/outside TYPE_CHECKING blocks
234+
"UP", # Update syntaxes for current Python version recommendations
235+
]
232236

233237
[tool.ruff.lint.per-file-ignores]
234238
"tests/*" = ["ANN", "S101"]

0 commit comments

Comments
 (0)