Skip to content

Commit 3a1bbfe

Browse files
committed
ruff check --target-version py312
1 parent 1659cf7 commit 3a1bbfe

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/python_checks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ on:
132132
required: false
133133
type: string
134134
default: true
135-
run_ruff:
135+
run-ruff:
136136
description: Flag to say if ruff should be run
137137
required: false
138138
type: string
@@ -188,7 +188,7 @@ jobs:
188188

189189
- name: Lint with ruff check
190190
if: ${{ inputs.run-ruff == 'true' }}
191-
run: ruff check
191+
run: ruff check --target-version py312
192192

193193
- name: Lint with pylint
194194
if: inputs.pylint-packages != ''
@@ -291,6 +291,7 @@ jobs:
291291
language: en_GB
292292

293293
- name: Lint with ruff
294+
if: ${{ inputs.run-ruff == 'true' }}
294295
run: ruff check
295296

296297
- name: Test with pytest

0 commit comments

Comments
 (0)