File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -218,15 +218,21 @@ spec:
218
218
219
219
- name : ruff-lint
220
220
displayName : " Python Linter (ruff)"
221
- image : ghcr.io/astral-sh/ruff
221
+ image : registry.access.redhat.com/ubi9/python-312
222
222
workingDir : $(workspaces.source.path)
223
- args : ["check", "$(workspaces.source.path)"]
223
+ script : |
224
+ set -euxo pipefail
225
+ pip3 install ruff
226
+ ruff check .
224
227
225
228
- name : ruff-format
226
229
displayName : " Python Formatter (ruff)"
227
- image : ghcr.io/astral-sh/ruff
230
+ image : registry.access.redhat.com/ubi9/python-312
228
231
workingDir : $(workspaces.source.path)
229
- args : ["format", "$(workspaces.source.path)", "--check"]
232
+ script : |
233
+ set -euxo pipefail
234
+ pip3 install ruff
235
+ ruff format . --check
230
236
231
237
- name : markdownlint
232
238
displayName : " Markdown Linter"
You can’t perform that action at this time.
0 commit comments