mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
fix: add root pytest config
This commit is contained in:
@@ -137,7 +137,6 @@ contextual = [
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["."]
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "src/crewai_tools/__init__.py"
|
||||
|
||||
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user