Skip to content

Commit

Permalink
Added SonarCloud configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
MaceScott committed Feb 17, 2025
1 parent 8579586 commit 3e50e8b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SonarCloud Project Configuration
sonar.projectKey=macescott_CernoID-Complete # Replace with your actual project key
sonar.organization=macescott # Your SonarCloud organization
sonar.host.url=https://sonarcloud.io

# General Settings
sonar.language=py # Set language to Python
sonar.python.version=3.12 # Ensure it matches your environment

# Paths
sonar.sources=src # Adjust to your source code directory
sonar.tests=tests # Adjust if tests are in a different folder
sonar.exclusions=**/__pycache__/**,**/*.md # Exclude unnecessary files

# Coverage (if using pytest or another tool)
sonar.coverage.exclusions=tests/** # Exclude tests from coverage analysis
sonar.python.coverage.reportPaths=coverage.xml # Ensure your coverage tool outputs this file

0 comments on commit 3e50e8b

Please sign in to comment.