Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.7.4 #24

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Enforce latest version on ReadTheDocs
sphinx ~= 8.1
docutils ~= 0.21
docutils_stubs ~= 0.0.22

# ReadTheDocs Theme
sphinx_rtd_theme ~= 3.0.1
Expand Down
5 changes: 4 additions & 1 deletion sphinx_reports/Unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ def _CheckOptions(self) -> None:
self._reportID = self._ParseStringOption("reportid")
self._noAssertions = "without-assertions" in self.options

testSummary = self._testSummaries[self._reportID]
try:
testSummary = self._testSummaries[self._reportID]
except KeyError as ex:
raise ReportExtensionError(f"No unit testing configuration item for '{self._reportID}'.") from ex
self._xmlReport = testSummary["xml_report"]

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion sphinx_reports/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
__email__ = "Paebbels@gmail.com"
__copyright__ = "2023-2024, Patrick Lehmann"
__license__ = "Apache License, Version 2.0"
__version__ = "0.7.3"
__version__ = "0.7.4"
__keywords__ = ["Python3", "Sphinx", "Extension", "Report", "doc-string", "interrogate"]

from hashlib import md5
Expand Down
Loading