From e084b6bc9d38ab084ce09a2203a37e8d5daf888b Mon Sep 17 00:00:00 2001 From: Julien Date: Fri, 19 Nov 2021 16:15:37 +0100 Subject: [PATCH] Update sonar properties --- .github/workflows/sonarqube.yml | 2 +- sonar-project.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 10b4941..fdd15d9 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -21,7 +21,7 @@ jobs: -Dsonar.organization=astrolabsoftware -Dsonar.projectKey=fink-client -Dsonar.sources=fink_client/,tests/,fink_client/scripts/ - -Dsonar.test.exclusions=fink_client/htmlcov,tests/htmlcov + -Dsonar.test.exclusions=fink_client/htmlcov,tests/htmlcov,fink_client/scripts/fink_alert_viewer.py -Dsonar.verbose=true -Dsonar.coverage.exclusions=**/** env: diff --git a/sonar-project.properties b/sonar-project.properties index 0c81509..6633288 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,7 +6,7 @@ sonar.projectVersion=1.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. # This property is optional if sonar.modules is set. sonar.sources=fink_client/,tests/,fink_client/scripts/ -sonar.exclusions=fink_client/htmlcov,tests/htmlcov +sonar.exclusions=fink_client/htmlcov,tests/htmlcov,fink_client/scripts/fink_alert_viewer.py # Functions, methods and lambdas should not have too many parameters # Well, they shouldn't.