mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
fix: add root pytest config
This commit is contained in:
@@ -137,7 +137,6 @@ contextual = [
|
|||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
pythonpath = ["."]
|
|
||||||
|
|
||||||
[tool.hatch.version]
|
[tool.hatch.version]
|
||||||
path = "src/crewai_tools/__init__.py"
|
path = "src/crewai_tools/__init__.py"
|
||||||
|
|||||||
@@ -83,6 +83,15 @@ ignore = ["E501"] # ignore line too long
|
|||||||
[tool.ruff.lint.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"tests/**/*.py" = ["S101"] # Allow assert statements in tests
|
"tests/**/*.py" = ["S101"] # Allow assert statements in tests
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = [
|
||||||
|
"packages/crewai/tests",
|
||||||
|
"packages/tools/tests",
|
||||||
|
]
|
||||||
|
markers = [
|
||||||
|
"telemetry: mark test as a telemetry test (don't mock telemetry)",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
exclude = ["packages/crewai/src/crewai/cli/templates", "packages/*/tests"]
|
exclude = ["packages/crewai/src/crewai/cli/templates", "packages/*/tests"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user