From c9aeae697f7e130876ecd633222307530641d2da Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 12 Nov 2024 00:30:19 +0100 Subject: [PATCH] Minor fixes. --- doc/conf.py | 4 ++-- pySystemRDLModel/__init__.py | 6 +++--- pyproject.toml | 1 + run.ps1 | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 1c4f008..34cd12c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -182,7 +182,7 @@ # ============================================================================== intersphinx_mapping = { "python": ("https://docs.python.org/3", None), - "setup": ("https://setuptools.pypa.io/en/latest", None), + "pyTool": ("https://pyTooling.github.io/pyTooling/", None), } @@ -255,7 +255,7 @@ report_unittest_testsuites = { "src": { "name": f"{project}", - "xml_report": "../report/unit/unittest.xml", + "xml_report": "../report/unit/TestReportSummary.xml", } } report_codecov_packages = { diff --git a/pySystemRDLModel/__init__.py b/pySystemRDLModel/__init__.py index 391180d..f9ac84e 100644 --- a/pySystemRDLModel/__init__.py +++ b/pySystemRDLModel/__init__.py @@ -52,7 +52,7 @@ __email__ = "Paebbels@gmail.com" __copyright__ = "2023-2024, Patrick Lehmann" __license__ = "Apache License, Version 2.0" -__version__ = "0.3.1" +__version__ = "0.3.2" @export @@ -73,7 +73,7 @@ class SystemRDLVersion(Enum): SystemRDL2012 = 2012 #: SystemRDL-2012 SystemRDL2017 = 2017 #: SystemRDL-2017 - Latest = 10000 + Latest = 10000 #: Latest SystemRDL (2017) __VERSION_MAPPINGS__: Dict[Union[int, str], Enum] = { -1: Any, @@ -110,7 +110,7 @@ def Parse(cls, value: Union[int, str]) -> "SystemRDLVersion": """ Parses a SystemRDL year code as integer or string to an enum value. - :param value: VHDL/VHDL-AMS year code. + :param value: SystemRDL year code. :returns: Enumeration value. :raises ValueError: If the year code is not recognized. """ diff --git a/pyproject.toml b/pyproject.toml index d2e3d4b..d109311 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ filterwarnings = [ "error::DeprecationWarning", "error::PendingDeprecationWarning" ] +junit_logging = "all" [tool.interrogate] color = true diff --git a/run.ps1 b/run.ps1 index 0ba42f3..f92b4ea 100644 --- a/run.ps1 +++ b/run.ps1 @@ -104,7 +104,7 @@ if ($install) { Write-Host -ForegroundColor Cyan "[ADMIN][UNINSTALL] Uninstalling $PackageName ..." py -3.12 -m pip uninstall -y $PackageName Write-Host -ForegroundColor Cyan "[ADMIN][INSTALL] Installing $PackageName from wheel ..." - py -3.12 -m pip install .\dist\$PackageName-6.7.0-py3-none-any.whl + py -3.12 -m pip install .\dist\$PackageName-0.3.1-py3-none-any.whl Write-Host -ForegroundColor Cyan "[ADMIN][INSTALL] Closing window in 5 seconds ..." Start-Sleep -Seconds 5