chore: update action versions in CI workflow and adjust linter ignores for compatibility

This commit is contained in:
bohd4nx
2026-04-18 21:05:12 +03:00
parent fca60135a6
commit 8f3e9f4bd8
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ jobs:
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@v7.6.0
- uses: astral-sh/setup-uv@v8.0.0
- run: uv build
@@ -79,7 +79,7 @@ jobs:
name: dist
path: dist
- uses: pypa/gh-action-pypi-publish@v1.13.0
- uses: pypa/gh-action-pypi-publish@v1.14.0
release:
name: GitHub Release
@@ -108,7 +108,7 @@ jobs:
echo "$body" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- uses: softprops/action-gh-release@v2.6.1
- uses: softprops/action-gh-release@v3.0.0
with:
tag_name: v${{ needs.version-check.outputs.version }}
name: v${{ needs.version-check.outputs.version }}
+2 -1
View File
@@ -65,7 +65,8 @@ target-version = "py312"
# E — pycodestyle errors, F — pyflakes, W — warnings, I — isort, UP — pyupgrade
select = ["E", "F", "W", "I", "UP"]
# E501 — line too long (covered by line-length above)
ignore = ["E501"]
# UP017 — use datetime.UTC (only available in Python 3.11+, we support 3.10)
ignore = ["E501", "UP017"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E402"]