mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
Update mypy configuration to handle union types better
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -94,8 +94,10 @@ crewai = "crewai.cli.cli:crewai"
|
||||
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = true
|
||||
disable_error_code = 'import-untyped'
|
||||
disable_error_code = 'import-untyped,union-attr'
|
||||
exclude = ["cli/templates"]
|
||||
implicit_optional = true
|
||||
strict_optional = false
|
||||
|
||||
[tool.bandit]
|
||||
exclude_dirs = ["src/crewai/cli/templates"]
|
||||
|
||||
Reference in New Issue
Block a user