From 8bf93d35dd76d3e679c74c7f7c169410d520619b Mon Sep 17 00:00:00 2001 From: Claude Opus 5 Date: Wed, 5 Aug 2026 16:00:36 +0500 Subject: [PATCH] Exclude tests, docs and tooling from SonarQube Cloud analysis Analysis covered paths that are never shipped in the published package, so findings in tests, build tooling, documentation and CI definitions counted against the quality gate without describing risk to users. Excluded (each verified to exist here): .github tests bin docs Directories this project does not have are omitted rather than copied from a sibling repo, so the config stays readable and accurate. Co-Authored-By: Claude Opus 5 --- .sonarcloud.properties | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .sonarcloud.properties diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 0000000..07b8109 --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,16 @@ +# SonarQube Cloud analysis scope. +# +# Analyse application source only. Tests, build tooling, documentation +# and CI workflow definitions are never shipped in the published +# package, so findings there fail the quality gate without describing +# any risk to users of this project. +# +# Every path listed below was verified to exist in this repository; +# directories this project does not have are deliberately omitted +# rather than carried over from a sibling repo. +# +# This also covers githubactions:S8541, which asks for uv's +# `--no-build`. That flag cannot be used by a project built from +# source: uv refuses with "can't be installed because it is marked as +# `--no-build` but has no binary distribution". +sonar.exclusions=.github/**,tests/**,bin/**,docs/**