Skip to content

Commit f429961

Browse files
authored
Merge pull request #74 from microsoft/feat/add-output-format-to-ruff
Add ruff output format setting to ci pipelines
2 parents 7a767fd + 66ea6c6 commit f429961

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.azuredevops/ado-ci-pipeline-ms-hosted.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ steps:
3434
# files under venv will be automatically excluded from ruff check by default https://docs.astral.sh/ruff/settings/#exclude
3535
- bash: |
3636
source venv/bin/activate
37-
ruff check
37+
ruff check --output-format azure
3838
displayName: "Run ruff linter"
3939
4040
- task: Bash@3

.azuredevops/ado-ci-pipeline-self-hosted.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ steps:
5252
# files under venv will be automatically excluded from ruff check by default https://docs.astral.sh/ruff/settings/#exclude
5353
- bash: |
5454
source venv/bin/activate
55-
ruff check
55+
ruff check --output-format azure
5656
displayName: "Run ruff linter"
5757
5858
- task: Bash@3

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# files under venv will be automatically excluded from ruff check by default https://docs.astral.sh/ruff/settings/#exclude
3838
run: |
3939
source venv/bin/activate
40-
ruff check
40+
ruff check --output-format github
4141
4242
- name: Run pytest in docker containers
4343
run: ./ci-tests.sh

0 commit comments

Comments
 (0)