mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-25 06:14:29 +00:00
chore: update action versions in CI workflow and adjust linter ignores for compatibility
This commit is contained in:
@@ -52,7 +52,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
|
|
||||||
- uses: astral-sh/setup-uv@v7.6.0
|
- uses: astral-sh/setup-uv@v8.0.0
|
||||||
|
|
||||||
- run: uv build
|
- run: uv build
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
name: dist
|
name: dist
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- uses: pypa/gh-action-pypi-publish@v1.13.0
|
- uses: pypa/gh-action-pypi-publish@v1.14.0
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: GitHub Release
|
name: GitHub Release
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
echo "$body" >> $GITHUB_OUTPUT
|
echo "$body" >> $GITHUB_OUTPUT
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: softprops/action-gh-release@v2.6.1
|
- uses: softprops/action-gh-release@v3.0.0
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ needs.version-check.outputs.version }}
|
tag_name: v${{ needs.version-check.outputs.version }}
|
||||||
name: v${{ needs.version-check.outputs.version }}
|
name: v${{ needs.version-check.outputs.version }}
|
||||||
|
|||||||
+2
-1
@@ -65,7 +65,8 @@ target-version = "py312"
|
|||||||
# E — pycodestyle errors, F — pyflakes, W — warnings, I — isort, UP — pyupgrade
|
# E — pycodestyle errors, F — pyflakes, W — warnings, I — isort, UP — pyupgrade
|
||||||
select = ["E", "F", "W", "I", "UP"]
|
select = ["E", "F", "W", "I", "UP"]
|
||||||
# E501 — line too long (covered by line-length above)
|
# 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]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"tests/*" = ["E402"]
|
"tests/*" = ["E402"]
|
||||||
|
|||||||
Reference in New Issue
Block a user