Skip to content

Commit 18ef0e7

Browse files
committed
Exclude version from source code consideration. This is benefitial particularly for new/smaller projects
1 parent 1e4f906 commit 18ef0e7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

project-template/{{cookiecutter.repo_name}}/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ ignore_errors = true
6767
projectKey = "com.exasol:{{cookiecutter.repo_name}}"
6868
hostUrl = "https://sonarcloud.io"
6969
organization = "exasol"
70+
exclusions = "exasol/{{cookiecutter.package_name}}/version.py"

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ sphinx-multiversion = 'exasol.toolbox.sphinx.multiversion:main'
120120
projectKey = "com.exasol:python-toolbox"
121121
hostUrl = "https://sonarcloud.io"
122122
organization = "exasol"
123+
exclusions = "exasol/toolbox/version.py"

0 commit comments

Comments
 (0)