We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b18aa9a commit e7e231aCopy full SHA for e7e231a
.github/workflows/python-check.yaml
@@ -89,7 +89,7 @@ jobs:
89
90
echo "➡️ Checking Python code with ruff..."
91
echo "::group::Running ruff check"
92
- if ! ruff check; then
+ if ! ruff check --target-version py312; then
93
failed=1
94
echo "::endgroup::"
95
echo "::error:: Ruff check failed."
.github/workflows/python-fix.yaml
@@ -56,7 +56,7 @@ jobs:
56
echo "Fixing Python format with ruff"
57
ruff format . || true
58
echo "Fixing Python linter issues with ruff"
59
- ruff check --fix . || true
+ ruff check --fix --target-version py312 . || true
60
61
- name: Handle fix commit
62
uses: ./phlex-src/.github/actions/handle-fix-commit
0 commit comments