fixed type checker

This commit is contained in:
Lorenze Jay
2024-08-09 10:19:38 -07:00
parent 72402e8263
commit a53f2bc5e6
2 changed files with 2 additions and 2 deletions

View File

@@ -23,4 +23,4 @@ jobs:
pip install mypy
- name: Run type checks
run: mypy src --exclude=crewai/cli/templates
run: mypy src

View File

@@ -60,7 +60,7 @@ crewai = "crewai.cli.cli:crewai"
[tool.mypy]
ignore_missing_imports = true
disable_error_code = 'import-untyped'
exclude = ["cli/templates/main.py", "cli/templates/crew.py"]
exclude = ["cli/templates/main.py", "cli/templates/crew.py", "cli/templates/pipeline/main.py", "cli/templates/pipeline_router/main.py"]
[build-system]
requires = ["poetry-core"]