Skip to content

Commit

Permalink
tooling: add SonarCloud config
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jun 9, 2024
1 parent 9e7369e commit cf99047
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
sonar.projectKey=Guts_mkdocs-rss-plugin

# Because Community Edition doesn't support multiple branches,
# you should only analyze your main branch.
# You can restrict analysis to your main branch by adding the branch name to the only parameter.
# only=main

# Python versions
sonar.python.version=3.8, 3.9, 3.10, 3.11, 3.12

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=mkdocs_rss_plugin

# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

# Python configuration
sonar.coverage.exclusions=**__init__**,tests/**,*.py,docs/**
sonar.cpd.exclusions=tests/**
sonar.exclusions=*.xml,doc/**,tests/dev/**,tests/fixtures/**
sonar.language=python3
sonar.python.coverage.reportPaths=coverage.xml
sonar.python.file.suffixes=py
sonar.python.xunit.reportPath=junit/test-results.xml

0 comments on commit cf99047

Please sign in to comment.