From cf1636c300ddf1b99e117c327ec0d73959c287f5 Mon Sep 17 00:00:00 2001 From: Greyson LaLonde Date: Sat, 14 Mar 2026 22:38:48 -0400 Subject: [PATCH] fix(ci): exclude crewai_cli templates from ruff linting Ruff fails when checking .py files in the templates directory because it discovers the nearby pyproject.toml which contains {{folder_name}} placeholders that are invalid TOML. Add the new template path to the CI grep filter, matching the existing exclusion for the original path. --- .github/workflows/linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index ae26c4209..6d40f7baf 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -55,6 +55,7 @@ jobs: echo "${{ steps.changed-files.outputs.files }}" \ | tr ' ' '\n' \ | grep -v 'src/crewai/cli/templates/' \ + | grep -v 'src/crewai_cli/templates/' \ | grep -v '/tests/' \ | xargs -I{} uv run ruff check "{}"