sonar-project.properties
Rama main · réplica de lectura del repositorio original.
sonar.projectKey=ankitects_anki
sonar.organization=ankitects
sonar.host.url=https://sonarcloud.io
# sonar.projectVersion is supplied by the workflow from .version. New code is
# measured since the previous version, so a constant here would freeze the
# baseline and let every change since it accumulate as new code.
# Quality Gate is informative only; keep Sonar out of required checks. A failing
# gate must not fail the scanner step, so technical failures stay distinguishable.
sonar.qualitygate.wait=false
# Fork code is analyzed as data, never executed. CI already enforces Clippy;
# scanner-side Clippy/SCA can invoke build tools, so keep them disabled here.
sonar.rust.clippy.enabled=false
sonar.sca.enabled=false
sonar.sources=pylib/anki,qt/aqt,qt/tools,ts,rslib,tools
sonar.tests=pylib/tests,qt/tests,tools/tests
# Test files nested under a source directory must not be indexed as sources.
sonar.exclusions=out/**,target/**,node_modules/**,**/generated/**,**/*.sql,extra/**,tools/tests/**
sonar.python.version=3.10
sonar.python.coverage.reportPaths=\
out/coverage/python-pylib/coverage.xml,\
out/coverage/python-qt/coverage.xml
sonar.javascript.lcov.reportPaths=out/coverage/typescript/lcov.info
sonar.rust.lcov.reportPaths=out/coverage/rust/lcov.info