-
-
Notifications
You must be signed in to change notification settings - Fork 707
Expand file tree
/
Copy pathsonar-project.properties
More file actions
23 lines (18 loc) · 1.25 KB
/
sonar-project.properties
File metadata and controls
23 lines (18 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sonar.projectKey=Screenly_screenly-ose
sonar.organization=screenly
sonar.python.version=3.13
# Sonar auto-detects sources without this, but listing them explicitly
# prevents the bare repo root from being scanned as source code (which
# pulled in test files and tripped quality-rule false positives).
sonar.sources=src
# Test code — Sonar applies a narrower rule set here, but a handful
# of test-only false positives (S2068 hard-coded credential heuristics
# in auth fixtures, etc.) survive. Those are silenced inline with
# `# NOSONAR` because Automatic Analysis ignores
# sonar.issue.ignore.multicriteria from this file.
sonar.tests=tests,src/anthias_server/api/tests
# Coverage report path matches [tool.coverage.xml].output in pyproject.toml.
sonar.python.coverage.reportPaths=coverage.xml
# Files we don't expect or measure coverage on. Keep aligned with the
# omit list under [tool.coverage.run] in pyproject.toml.
sonar.coverage.exclusions=**/migrations/**,**/__init__.py,src/anthias_server/django_project/asgi.py,src/anthias_server/django_project/routing.py,src/anthias_server/django_project/urls.py,src/anthias_server/django_project/wsgi.py,src/anthias_server/app/management/**,src/anthias_server/manage.py,src/anthias_host_agent/**,src/anthias_viewer/__main__.py