#  Copyright (c) 2026. Jose M. Requena-Plens

# Project identification
sonar.projectKey=jmrplens_phonometry
sonar.organization=jmrplens

# Path to sources and tests
sonar.sources=src
sonar.tests=tests
sonar.python.version=3.13

# Encoding of the source files
sonar.sourceEncoding=UTF-8

# Coverage configuration
sonar.python.coverage.reportPaths=coverage.xml

# Exclusions
sonar.exclusions=**/__pycache__/**, **/*.png, **/*.md
sonar.test.inclusions=tests/**/test_*.py
# Exclude overload-heavy type-stub files from duplication analysis
sonar.cpd.exclusions=src/phonometry/__init__.py,src/phonometry/core.py

# Increase authorized parameters for scientific APIs
sonar.issue.ignore.multicriteria=S107
sonar.issue.ignore.multicriteria.S107.ruleKey=python:S107
sonar.issue.ignore.multicriteria.S107.resourceKey=src/phonometry/__init__.py
