Skip to content

Commit 2ec8a57

Browse files
committed
use actions ruff
1 parent aac1108 commit 2ec8a57

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/python_checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ jobs:
186186
if: inputs.flake8-packages != ''
187187
run: flake8 ${{ inputs.flake8-packages }}
188188

189-
- name: Lint with ruff check
190-
if: ${{ inputs.run-ruff == 'true' }}
191-
run: ruff check --target-version py312
192-
193189
- name: Lint with pylint
194190
if: inputs.pylint-packages != ''
195191
uses: SpiNNakerManchester/SupportScripts/actions/pylint@main
@@ -208,6 +204,10 @@ jobs:
208204
if: ${{ inputs.mypy-full-packages != ''}}
209205
run: mypy --python-version ${{ matrix.python-version }} --disallow-untyped-defs ${{ inputs.mypy-full-packages }}
210206

207+
- name: Lint with ruff
208+
if: ${{ inputs.run-ruff == 'true' }}
209+
uses: SpiNNakerManchester/SupportScripts/actions/ruff@main
210+
211211
- name: Test with pytest
212212
if: ${{ inputs.test-directories != ''}}
213213
uses: SpiNNakerManchester/SupportScripts/actions/pytest@main

0 commit comments

Comments
 (0)