-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.sonarcloud.properties
More file actions
36 lines (30 loc) · 2.58 KB
/
Copy path.sonarcloud.properties
File metadata and controls
36 lines (30 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SonarCloud Automatic Analysis configuration.
# NOTE: Automatic Analysis ignores sonar-project.properties; only this file
# (and wildcard-free literal paths, per SonarCloud's own restriction on this
# specific file) is honored. See docs: "Automatic analysis" > "Advanced
# configuration".
# Path to sources
# sonar.sources=
# Path to tests
# sonar.tests=
# Source encoding
# sonar.sourceEncoding=
# Exclusions for copy-paste detection.
#
# This is a tutorials/examples repo: every example under python/*, node/*,
# go/*, and snippets/* is intentionally self-contained and copy-paste-able,
# so each one re-implements its own local `policy.py` / `policy.ts` /
# `policy.go` (and a handful of `main.py` / `index.ts` / `test_smoke.py`
# files that follow the same per-framework template). That duplication is
# BY DESIGN — extracting a shared policy module would break the "copy one
# example directory and it just works" contract this repo exists to
# demonstrate. It is not a code smell to fix; it is excluded here rather
# than left to inflate the project's duplication rating. List is exact
# files (this property disallows wildcard patterns), taken from the
# duplication report as of 2026-07-23.
sonar.cpd.exclusions=go/langchaingo/policy.go,go/tool-policy/policy.go,node/custom-tool-policy/src/index.ts,node/custom-tool-policy/src/policy.ts,node/langchain-js-basic-agent/src/policy.ts,node/langgraph-js/src/policy.ts,node/mastra/src/policy.ts,node/openai-node-tool-policy/src/index.ts,node/openai-node-tool-policy/src/policy.ts,node/vercel-ai/src/policy.ts,python/agno-tool-policy/src/main.py,python/autogen-tool-policy/src/policy.py,python/crewai-research-crew/src/main.py,python/crewai-research-crew/src/policy.py,python/google-adk/src/policy.py,python/google-adk/tests/test_smoke.py,python/haystack-tool-policy/src/main.py,python/langchain-basic-agent/src/policy.py,python/langchain-research-agent/src/policy.py,python/langgraph/src/policy.py,python/microsoft-agent-framework-tool-policy/tests/test_smoke.py,python/pydantic-ai/src/policy.py,python/pydantic-ai/tests/test_smoke.py,python/semantic-kernel-tool-policy/src/policy.py,python/strands-agents-tool-policy/src/policy.py,snippets/node/custom-tool-policy.ts,snippets/node/openai-node-tool-policy.ts,snippets/python/agno-tool-policy.py,snippets/python/crewai-research-crew.py,snippets/python/haystack-tool-policy.py
# Python version (for python projects only)
# sonar.python.version=
# C++ standard version (for C++ projects only)
# If not specified, it defaults to the latest supported standard
# sonar.cfamily.reportingCppStandardOverride=c++98|c++11|c++14|c++17|c++20