diff --git a/packages/tools/pyproject.toml b/packages/tools/pyproject.toml index b80d6e4a7..039089d7d 100644 --- a/packages/tools/pyproject.toml +++ b/packages/tools/pyproject.toml @@ -137,7 +137,6 @@ contextual = [ [tool.pytest.ini_options] testpaths = ["tests"] -pythonpath = ["."] [tool.hatch.version] path = "src/crewai_tools/__init__.py" diff --git a/pyproject.toml b/pyproject.toml index f266feeda..d897c516d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]