Add Sonar (#14)

* Add Sonar

* Fix code smells
This commit was merged in pull request #14.
This commit is contained in:
2022-07-10 17:27:44 +01:00
committed by GitHub
parent b75300de8e
commit 4e5a200539
11 changed files with 35 additions and 18 deletions

30
.github/archive/.deepsource.toml vendored Normal file
View File

@@ -0,0 +1,30 @@
version = 1
test_patterns = ["tests/**"]
exclude_patterns = [
".github/workflows/**",
".gitignore",
"CODEOWNERS",
"LICENSE.md",
"README.md",
"codecov.yml",
"renovate.json",
"requirements-dev.txt",
"requirements.txt"
]
[[analyzers]]
name = "python"
enabled = true
[analyzers.meta]
runtime_version = "3.x.x"
[[analyzers]]
name = "test-coverage"
enabled = true
[[transformers]]
name = "black"
enabled = true

2
.github/archive/codecov.yml vendored Normal file
View File

@@ -0,0 +1,2 @@
ignore:
- "*/tests/*”