From c185b373225002d7513f2549dcdbe9d9048e41f3 Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Fri, 9 Aug 2024 14:03:59 -0700 Subject: [PATCH] rm excluding type checks for template files on github action --- .github/workflows/type-checker.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/type-checker.yml b/.github/workflows/type-checker.yml index 0f81da85a..9a450f007 100644 --- a/.github/workflows/type-checker.yml +++ b/.github/workflows/type-checker.yml @@ -23,4 +23,4 @@ jobs: pip install mypy - name: Run type checks - run: mypy src --exclude=crewai/cli/templates + run: mypy src diff --git a/pyproject.toml b/pyproject.toml index 086b388ab..b6d1e00c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ crewai = "crewai.cli.cli:crewai" [tool.mypy] ignore_missing_imports = true disable_error_code = 'import-untyped' -exclude = ["cli/templates/crew/main.py", "cli/templates/crew/crew.py", "cli/templates/pipeline/pipelines/pipeline.py", "cli/templates/pipeline/main.py", "cli/templates/pipeline_router/main.py"] +exclude = ["cli/templates] [build-system] requires = ["poetry-core"]