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:
218218
219219 - name : ruff-lint
220220 displayName : " Python Linter (ruff)"
221- image : ghcr.io/astral-sh/ruff
221+ image : registry.access.redhat.com/ubi9/python-312
222222 workingDir : $(workspaces.source.path)
223- args : ["check", "$(workspaces.source.path)"]
223+ script : |
224+ set -euxo pipefail
225+ pip3 install ruff
226+ ruff check .
224227
225228 - name : ruff-format
226229 displayName : " Python Formatter (ruff)"
227- image : ghcr.io/astral-sh/ruff
230+ image : registry.access.redhat.com/ubi9/python-312
228231 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
230236
231237 - name : markdownlint
232238 displayName : " Markdown Linter"
You can’t perform that action at this time.
0 commit comments