-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsonar-project.properties
31 lines (24 loc) · 1.13 KB
/
sonar-project.properties
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
sonar.organization=giscience
sonar.projectKey=ohsome-quality-api
sonar.projectName=ohsome quality API
# settings for pull requests
sonar.pullrequest.provider=github
sonar.pullrequest.github.repository=GIScience/ohsome-quality-api
sonar.pullrequest.github.endpoint=https://api.github.com/
# supported Python versions
sonar.python.version=3.10, 3.11
# disable PL/SQL
sonar.plsql.file.suffixes=""
# exclude static files
sonar.exclusions=ohsome_quality_api/api/static/*
# exclude non-API worker files from coverage report
sonar.coverage.exclusions=database/**,scripts/**,tests/**
# the fixtures file only contains values, no code that can be duplicated
sonar.cpd.exclusions=tests/unittests/mapping_saturation/fixtures.py
sonar.issue.ignore.multicriteria=e1
# S117: local variable and function parameter names should comply with a naming convention
# Ignore for math formula parameter
sonar.issue.ignore.multicriteria.e1.ruleKey=python:S117
# S1192: String literals should not be duplicated
sonar.issue.ignore.multicriteria.e1.ruleKey=python:S1192
sonar.issue.ignore.multicriteria.e1.resourceKey=ohsome_quality_api/indicators/mapping_saturation/models.py