diff --git a/instrumentation/opentelemetry-instrumentation-genai-agno/pyproject.toml b/instrumentation/opentelemetry-instrumentation-genai-agno/pyproject.toml index a4b53d926..6ae0386e4 100644 --- a/instrumentation/opentelemetry-instrumentation-genai-agno/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-genai-agno/pyproject.toml @@ -50,9 +50,6 @@ include = ["/src", "/tests"] [tool.hatch.build.targets.wheel] packages = ["src/opentelemetry"] -[tool.pytest.ini_options] -testpaths = ["tests"] - [tool.towncrier] directory = ".changelog" filename = "CHANGELOG.md" diff --git a/instrumentation/opentelemetry-instrumentation-genai-anthropic/pyproject.toml b/instrumentation/opentelemetry-instrumentation-genai-anthropic/pyproject.toml index 836510ed5..d74f56e86 100644 --- a/instrumentation/opentelemetry-instrumentation-genai-anthropic/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-genai-anthropic/pyproject.toml @@ -50,12 +50,6 @@ include = ["/src", "/tests", "/examples"] [tool.hatch.build.targets.wheel] packages = ["src/opentelemetry"] -[tool.pytest.ini_options] -testpaths = ["tests"] -markers = [ - "conformance: GenAI semconv conformance scenario (run via the *-conformance tox envs)", -] - [tool.towncrier] directory = ".changelog" filename = "CHANGELOG.md" diff --git a/instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/pyproject.toml b/instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/pyproject.toml index 08375dc58..57133cd04 100644 --- a/instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/pyproject.toml @@ -49,9 +49,6 @@ include = ["/src", "/tests", "/examples"] [tool.hatch.build.targets.wheel] packages = ["src/opentelemetry"] -[tool.pytest.ini_options] -testpaths = ["tests"] - [tool.towncrier] directory = ".changelog" filename = "CHANGELOG.md" diff --git a/instrumentation/opentelemetry-instrumentation-genai-crewai/pyproject.toml b/instrumentation/opentelemetry-instrumentation-genai-crewai/pyproject.toml index 447561a84..2a1f87a28 100644 --- a/instrumentation/opentelemetry-instrumentation-genai-crewai/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-genai-crewai/pyproject.toml @@ -52,9 +52,6 @@ include = ["/src", "/tests"] [tool.hatch.build.targets.wheel] packages = ["src/opentelemetry"] -[tool.pytest.ini_options] -testpaths = ["tests"] - [tool.towncrier] directory = ".changelog" filename = "CHANGELOG.md" diff --git a/instrumentation/opentelemetry-instrumentation-genai-llama-index/pyproject.toml b/instrumentation/opentelemetry-instrumentation-genai-llama-index/pyproject.toml index 47bb2a27c..ad5cb3ca8 100644 --- a/instrumentation/opentelemetry-instrumentation-genai-llama-index/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-genai-llama-index/pyproject.toml @@ -50,9 +50,6 @@ include = ["/src", "/tests"] [tool.hatch.build.targets.wheel] packages = ["src/opentelemetry"] -[tool.pytest.ini_options] -testpaths = ["tests"] - [tool.towncrier] directory = ".changelog" filename = "CHANGELOG.md" diff --git a/instrumentation/opentelemetry-instrumentation-genai-smolagents/pyproject.toml b/instrumentation/opentelemetry-instrumentation-genai-smolagents/pyproject.toml index 67140011a..978413e9d 100644 --- a/instrumentation/opentelemetry-instrumentation-genai-smolagents/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-genai-smolagents/pyproject.toml @@ -50,9 +50,6 @@ include = ["/src", "/tests"] [tool.hatch.build.targets.wheel] packages = ["src/opentelemetry"] -[tool.pytest.ini_options] -testpaths = ["tests"] - [tool.towncrier] directory = ".changelog" filename = "CHANGELOG.md" diff --git a/pytest.ini b/pytest.ini index 886af1c76..8ee827e66 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,3 +3,6 @@ addopts = -rfE -v log_cli = true log_cli_level = warning +asyncio_default_fixture_loop_scope = function +markers = + conformance: GenAI semconv conformance scenario (run via the *-conformance tox envs) diff --git a/tox.ini b/tox.ini index 0ba70782d..b6c9bc86f 100644 --- a/tox.ini +++ b/tox.ini @@ -324,7 +324,7 @@ commands_pre = sh -c "sudo apt update -y && sudo apt install --assume-yes shellcheck" commands = - sh -c "find {toxinidir} -name \*.sh | xargs shellcheck --severity=warning" + sh -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -not -path '*/.venv*/*' -not -path '*/venv*/*' -print0 | xargs -0 shellcheck --severity=warning" [testenv:{precommit,ruff}] basepython: python3