Skip to content

The agent engineering platform.

Show ruff output inline in GitHub PRs. (#12647)

Predrag Gruevski72fa5a463d0f
diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml
index 19560f20d0..a1a3e17bfb 100644
--- a/.github/workflows/_lint.yml
+++ b/.github/workflows/_lint.yml
@@ -16,6 +16,9 @@ env:
POETRY_VERSION: "1.6.1"
WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }}
+ # This env var allows us to get inline annotations when ruff has complaints.
+ RUFF_OUTPUT_FORMAT: github
+
jobs:
build:
runs-on: ubuntu-latest