Skip to content

Commit 196a545

Browse files
NRL-1177 Fix Sonarqube warnings for snomed urls
1 parent 773eebc commit 196a545

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sonar-project.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,11 @@ sonar.organization=nhsdigital
33
sonar.projectName=NRLF
44
sonar.python.version=3.9.5
55
sonar.terraform.provider.aws.version=4.63.0
6+
# TODO: Some paths here are outdated and perhaps we don't want to exclude everything
67
sonar.cpd.exclusions=api/tests/**, tests/**, api/**/tests/**, feature_tests/**, cron/seed_sandbox/tests/**, data_contracts/**/tests/**, firehose/**/tests/**, firehose/**/scripts/**, helpers/tests/**, mi/**/tests/**
78
sonar.exclusions=scripts/**, **/scripts/**, api/tests/**, tests/**, api/**/tests/**, feature_tests/**, cron/seed_sandbox/tests/**, data_contracts/**/tests/**, firehose/**/tests/**, firehose/**/scripts/**, helpers/tests/**, mi/**/tests/**
9+
10+
# Exclude snomed urls as being unsafe
11+
sonar.issue.ignore.multicriteria=exclude_snomed_urls
12+
sonar.issue.ignore.multicriteria.exclude_snomed_urls.ruleKey=python:S5332
13+
sonar.issue.ignore.multicriteria.exclude_snomed_urls.pattern=http://snomed\.info(/sct)?$

0 commit comments

Comments
 (0)