-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-48198: close exited stdouts, fix warnings, use runpy, update cover…
…agerc (#98) - Fix a number of unclosed file warnings in tests: close stdout of exited procs - Use runpy.run_path() to execute xen-bugtool as a script: - tests/integration/test_*.py now also collect coverage of xen-bugtool - Update .coveragerc: Run "coverage run && coverage report" to get coverage! - Fix warnings from SonarLint, Codacy (e.g bandit), Sourcery - Update configuration to be compatible with SonarCloud and upload to it - Fix pyproject.toml to be compatible with "ruff check xen-bugtool" Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
- Loading branch information
1 parent
0ff4a6d
commit 15ab34d
Showing
15 changed files
with
113 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
sonar.organization=xenserver-next | ||
sonar.projectKey=xenserver-next_status-report | ||
sonar.python.version=3.6 | ||
sonar.python.coverage.reportPaths=.git/coverage.xml | ||
sonar.python.xunit.reportPath=.git/pytest.xml | ||
# sonar.python.mypy.reportPaths=.git/mypy.xml | ||
# sonar.python.ruff.reportPaths=.git/ruff.xml | ||
# sonar.python.pylint.reportPaths=.git/pylint.xml | ||
|
||
# Patterns used to include some source files and only these ones in analysis. | ||
# By default, all files in project sources are included. | ||
# relative paths to source directories. More details and properties are described | ||
# in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/ | ||
sonar.sources=. | ||
sonar.tests=tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters