fix: add root pytest config

This commit is contained in:
Greyson Lalonde
2025-09-12 23:03:58 -04:00
parent d610023527
commit 1a8bf47d20
2 changed files with 9 additions and 1 deletions

View File

@@ -137,7 +137,6 @@ contextual = [
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.hatch.version]
path = "src/crewai_tools/__init__.py"

View File

@@ -83,6 +83,15 @@ ignore = ["E501"] # ignore line too long
[tool.ruff.lint.per-file-ignores]
"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]
exclude = ["packages/crewai/src/crewai/cli/templates", "packages/*/tests"]