Skip to content

Commit

Permalink
Fixed f-string issue for old Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jan 10, 2024
1 parent df4cb7a commit 21117dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_reports/DocCoverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _CheckConfiguration(self) -> None:
except KeyError as ex:
raise ReportExtensionError(f"conf.py: {ReportDomain.name}_{self.configPrefix}_packages:{self._packageID}.fail_below: Configuration is missing.") from ex
except ValueError as ex:
raise ReportExtensionError(f"conf.py: {ReportDomain.name}_{self.configPrefix}_packages:{self._packageID}.fail_below: '{packageConfiguration["fail_below"]}' is not an integer in range 0..100.") from ex
raise ReportExtensionError(f"conf.py: {ReportDomain.name}_{self.configPrefix}_packages:{self._packageID}.fail_below: '{packageConfiguration['fail_below']}' is not an integer in range 0..100.") from ex

if not (0.0 <= self._failBelow <= 100.0):
raise ReportExtensionError(
Expand Down

0 comments on commit 21117dd

Please sign in to comment.