From 0ece74d8676facefdd57b3afd43c17da715d527e Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 26 Dec 2021 19:14:54 +0100 Subject: [PATCH 1/8] Bumped dependencies. --- .github/workflows/Pipeline.yml | 2 +- doc/Dependency.rst | 8 ++++---- doc/index.rst | 3 ++- pyproject.toml | 2 +- requirements.txt | 2 +- tests/requirements.txt | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 0b8c9b8e..6c94d31e 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -111,11 +111,11 @@ jobs: needs: - Params - UnitTesting - - PublishTestResults - Coverage - StaticTypeCheck - BuildTheDocs - PublishToGitHubPages + - PublishTestResults with: package: ${{ fromJson(needs.Params.outputs.params).artifacts.package }} remaining: | diff --git a/doc/Dependency.rst b/doc/Dependency.rst index fa744045..69c7b25e 100644 --- a/doc/Dependency.rst +++ b/doc/Dependency.rst @@ -29,7 +29,7 @@ pySVModel Package +--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | **Package** | **Version** | **License** | **Dependencies** | +========================================================+=============+==========================================================================================+=================================================================================================================================+ -| `pyTooling `__ | ≥1.7.0 | `Apache License, 2.0 `__ | *None* | +| `pyTooling `__ | ≥1.8.1 | `Apache License, 2.0 `__ | *None* | +--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ @@ -63,7 +63,7 @@ the mandatory dependencies too. +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ | `Coverage `__ | ≥6.2 | `Apache License, 2.0 `__ | *Not yet evaluated.* | +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ -| `mypy `__ | ≥0.910 | `MIT `__ | *Not yet evaluated.* | +| `mypy `__ | ≥0.930 | `MIT `__ | *Not yet evaluated.* | +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ | `lxml `__ | ≥4.6.4 | `BSD 3-Clause `__ | *Not yet evaluated.* | +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ @@ -93,7 +93,7 @@ the mandatory dependencies too. +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Package** | **Version** | **License** | **Dependencies** | +=================================================================================================+==============+==========================================================================================================+======================================================================================================================================================+ -| `pyTooling.Packaging `__ | ≥1.7.0 | `Apache License, 2.0 `__ | *None* | +| `pyTooling `__ | ≥1.8.1 | `Apache License, 2.0 `__ | *None* | +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | `Sphinx `__ | ≥4.3.0 | `BSD 3-Clause `__ | *Not yet evaluated.* | +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -129,7 +129,7 @@ install the mandatory dependencies too. +----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Package** | **Version** | **License** | **Dependencies** | +============================================================================+==============+==========================================================================================================+======================================================================================================================================================+ -| `pyTooling.Packaging `__ | ≥1.7.0 | `Apache License, 2.0 `__ | *None* | +| `pyTooling `__ | ≥1.8.1 | `Apache License, 2.0 `__ | *None* | +----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | `wheel `__ | any | `MIT `__ | *Not yet evaluated.* | +----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/doc/index.rst b/doc/index.rst index 8b65e341..69e0f149 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -147,7 +147,8 @@ License :caption: Appendix :hidden: - ChangeLog/index + Coverage Report ➚ + Static Type Check Report ➚ License Doc-License Glossary diff --git a/pyproject.toml b/pyproject.toml index 0566add4..940c9edf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "pyTooling >= 1.7.0", + "pyTooling >= 1.8.1", "setuptools >= 35.0.2", "wheel >= 0.29.0" ] diff --git a/requirements.txt b/requirements.txt index 2d48f6b4..2aefcd66 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyTooling>=1.7.0 +pyTooling>=1.8.1 diff --git a/tests/requirements.txt b/tests/requirements.txt index 85964cb0..00972545 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -8,5 +8,5 @@ pytest>=6.2.5 pytest-cov>=3.0.0 # Static Type Checking -mypy>=0.910 +mypy>=0.930 lxml>=4.6.4 From 06dd1fb21b2302b89f91e069a529a9eabab912ba Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 26 Dec 2021 19:15:38 +0100 Subject: [PATCH 2/8] Bumped version to v0.3.5. --- pySVModel/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySVModel/__init__.py b/pySVModel/__init__.py index cae1ae27..849c0fa0 100644 --- a/pySVModel/__init__.py +++ b/pySVModel/__init__.py @@ -45,7 +45,7 @@ __email__ = "Paebbels@gmail.com" __copyright__ = "2021-2021, Patrick Lehmann" __license__ = "Apache License, Version 2.0" -__version__ = "0.3.4" +__version__ = "0.3.5" @export From 560aca7285265a1abda9dd97d550f82939b96b85 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 8 Jan 2022 14:39:41 +0100 Subject: [PATCH 3/8] Bumped dependencies. --- .idea/pySVModel.iml | 4 +++- doc/ChangeLog/index.rst | 2 +- doc/Dependency.rst | 10 +++++----- doc/requirements.txt | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- tests/requirements.txt | 2 +- 7 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.idea/pySVModel.iml b/.idea/pySVModel.iml index aaa72d73..54123544 100644 --- a/.idea/pySVModel.iml +++ b/.idea/pySVModel.iml @@ -2,8 +2,10 @@ - + + + diff --git a/doc/ChangeLog/index.rst b/doc/ChangeLog/index.rst index 9ab3b32b..95517e26 100644 --- a/doc/ChangeLog/index.rst +++ b/doc/ChangeLog/index.rst @@ -9,4 +9,4 @@ Upcoming Release 23.09.2021 ========== -Classes :cls:`VerilogModel` and :cls:`SystemVerilogVersion` were moved from pyEDAA.ProjectModel to this package. +Classes :class:`VerilogModel` and :class:`SystemVerilogVersion` were moved from pyEDAA.ProjectModel to this package. diff --git a/doc/Dependency.rst b/doc/Dependency.rst index 69c7b25e..f52ffa67 100644 --- a/doc/Dependency.rst +++ b/doc/Dependency.rst @@ -29,7 +29,7 @@ pySVModel Package +--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ | **Package** | **Version** | **License** | **Dependencies** | +========================================================+=============+==========================================================================================+=================================================================================================================================+ -| `pyTooling `__ | ≥1.8.1 | `Apache License, 2.0 `__ | *None* | +| `pyTooling `__ | ≥1.9.2 | `Apache License, 2.0 `__ | *None* | +--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+ @@ -63,7 +63,7 @@ the mandatory dependencies too. +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ | `Coverage `__ | ≥6.2 | `Apache License, 2.0 `__ | *Not yet evaluated.* | +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ -| `mypy `__ | ≥0.930 | `MIT `__ | *Not yet evaluated.* | +| `mypy `__ | ≥0.931 | `MIT `__ | *Not yet evaluated.* | +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ | `lxml `__ | ≥4.6.4 | `BSD 3-Clause `__ | *Not yet evaluated.* | +-----------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+ @@ -93,7 +93,7 @@ the mandatory dependencies too. +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Package** | **Version** | **License** | **Dependencies** | +=================================================================================================+==============+==========================================================================================================+======================================================================================================================================================+ -| `pyTooling `__ | ≥1.8.1 | `Apache License, 2.0 `__ | *None* | +| `pyTooling `__ | ≥1.9.2 | `Apache License, 2.0 `__ | *None* | +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | `Sphinx `__ | ≥4.3.0 | `BSD 3-Clause `__ | *Not yet evaluated.* | +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -101,7 +101,7 @@ the mandatory dependencies too. +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | !! `sphinx_fontawesome `__ | ≥0.0.6 | `GPL 2.0 `__ | *Not yet evaluated.* | +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ -| `sphinx_autodoc_typehints `__ | ≥1.12.0 | `MIT `__ | *Not yet evaluated.* | +| `sphinx_autodoc_typehints `__ | ≥1.14.1 | `MIT `__ | *Not yet evaluated.* | +-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -129,7 +129,7 @@ install the mandatory dependencies too. +----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Package** | **Version** | **License** | **Dependencies** | +============================================================================+==============+==========================================================================================================+======================================================================================================================================================+ -| `pyTooling `__ | ≥1.8.1 | `Apache License, 2.0 `__ | *None* | +| `pyTooling `__ | ≥1.9.2 | `Apache License, 2.0 `__ | *None* | +----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | `wheel `__ | any | `MIT `__ | *Not yet evaluated.* | +----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/doc/requirements.txt b/doc/requirements.txt index 58166dc3..6c5d9c25 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -9,4 +9,4 @@ sphinx>=4.3.0 sphinxcontrib-mermaid>=0.7.1 autoapi>=2.0.1 sphinx_fontawesome>=0.0.6 -sphinx_autodoc_typehints>=1.12.0 +sphinx_autodoc_typehints>=1.14.1 diff --git a/pyproject.toml b/pyproject.toml index 940c9edf..4fbec4ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "pyTooling >= 1.8.1", + "pyTooling >= 1.9.2", "setuptools >= 35.0.2", "wheel >= 0.29.0" ] diff --git a/requirements.txt b/requirements.txt index 2aefcd66..af16e2f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyTooling>=1.8.1 +pyTooling>=1.9.2 diff --git a/tests/requirements.txt b/tests/requirements.txt index 00972545..71a1471d 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -8,5 +8,5 @@ pytest>=6.2.5 pytest-cov>=3.0.0 # Static Type Checking -mypy>=0.930 +mypy>=0.931 lxml>=4.6.4 From d740a424142cc2043fe1ca7425b36b70a73bb0fe Mon Sep 17 00:00:00 2001 From: umarcor Date: Sun, 9 Jan 2022 21:18:43 +0100 Subject: [PATCH 4/8] update dependencies --- doc/requirements.txt | 2 +- tests/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 6c5d9c25..48fdad5f 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ -r ../requirements.txt -pyTooling>=1.7.0 +pyTooling>=1.9.2 # Enforce latest version on ReadTheDocs sphinx>=4.3.0 diff --git a/tests/requirements.txt b/tests/requirements.txt index 71a1471d..e71c276a 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -9,4 +9,4 @@ pytest-cov>=3.0.0 # Static Type Checking mypy>=0.931 -lxml>=4.6.4 +lxml>=4.6 From f896db25e19c35c63c35c1d506a1461bf21887fc Mon Sep 17 00:00:00 2001 From: umarcor Date: Sun, 9 Jan 2022 21:19:35 +0100 Subject: [PATCH 5/8] ci/ArtifactCleanup: update list of unittest artifacts (ubuntu, windows, macos and msys2) --- .github/workflows/Pipeline.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 6c94d31e..ea442d7a 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -119,11 +119,19 @@ jobs: with: package: ${{ fromJson(needs.Params.outputs.params).artifacts.package }} remaining: | - ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.6 - ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.7 - ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.8 - ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.9 - ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-3.10 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.7 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.8 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.9 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-ubuntu-3.10 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.7 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.8 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.9 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-windows-3.10 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-msys2-3.9 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.7 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.8 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.9 + ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-macos-3.10 ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }} ${{ fromJson(needs.Params.outputs.params).artifacts.typing }} ${{ fromJson(needs.Params.outputs.params).artifacts.doc }} From 99047c685bbd50951f6ac41852e45570c9c6dd4e Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 16 Jan 2022 10:41:46 +0100 Subject: [PATCH 6/8] Added external HTML placeholders (coverage, typing). --- doc/coverage/index.rst | 4 ++++ doc/typing/index.rst | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 doc/coverage/index.rst create mode 100644 doc/typing/index.rst diff --git a/doc/coverage/index.rst b/doc/coverage/index.rst new file mode 100644 index 00000000..80bbad2e --- /dev/null +++ b/doc/coverage/index.rst @@ -0,0 +1,4 @@ +Coverage Report +############### + +*Placeholder for the Coverage report generated with* ``pytest`` *and* ``coverage``. diff --git a/doc/typing/index.rst b/doc/typing/index.rst new file mode 100644 index 00000000..97d4ae2a --- /dev/null +++ b/doc/typing/index.rst @@ -0,0 +1,4 @@ +Static Type Checking Report +########################### + +*Placeholder for the Static Type Checking report generated with* ``mypy``. From 916982143fc45b9e9cb9e457a73300b5c3dc26a4 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 16 Jan 2022 10:50:05 +0100 Subject: [PATCH 7/8] Updated file headers. --- pySVModel/__init__.py | 63 +++++++++++++++++++-------------------- setup.py | 60 ++++++++++++++++++------------------- tests/unit/Instantiate.py | 60 ++++++++++++++++++------------------- tests/unit/__init__.py | 30 +++++++++++++++++++ 4 files changed, 121 insertions(+), 92 deletions(-) diff --git a/pySVModel/__init__.py b/pySVModel/__init__.py index 849c0fa0..1b445412 100644 --- a/pySVModel/__init__.py +++ b/pySVModel/__init__.py @@ -1,38 +1,37 @@ -# ============================================================================= -# ____ _ __ __ _ _ __ __ _ _ -# _ __ _ _/ ___| _ _ ___| |_ ___ _ __ __\ \ / /__ _ __(_) | ___ __ _| \/ | ___ __| | ___| | -# | '_ \| | | \___ \| | | / __| __/ _ \ '_ ` _ \ \ / / _ \ '__| | |/ _ \ / _` | |\/| |/ _ \ / _` |/ _ \ | -# | |_) | |_| |___) | |_| \__ \ || __/ | | | | \ V / __/ | | | | (_) | (_| | | | | (_) | (_| | __/ | -# | .__/ \__, |____/ \__, |___/\__\___|_| |_| |_|\_/ \___|_| |_|_|\___/ \__, |_| |_|\___/ \__,_|\___|_| -# |_| |___/ |___/ |___/ -# ============================================================================== -# Authors: Patrick Lehmann -# -# Python package: An abstract SystemVerilog language model. -# -# License: -# ============================================================================== -# Copyright 2021-2021 Patrick Lehmann - Boetzingen, Germany -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============================================================================== +# ==================================================================================================================== # +# ______ ____ __ _ _ # +# _ __ _ _/ ___\ \ / / \/ | ___ __| | ___| | # +# | '_ \| | | \___ \\ \ / /| |\/| |/ _ \ / _` |/ _ \ | # +# | |_) | |_| |___) |\ V / | | | | (_) | (_| | __/ | # +# | .__/ \__, |____/ \_/ |_| |_|\___/ \__,_|\___|_| # +# |_| |___/ # +# ==================================================================================================================== # +# Authors: # +# Patrick Lehmann # +# # +# License: # +# ==================================================================================================================== # +# Copyright 2021-2022 Patrick Lehmann - Boetzingen, Germany # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +# # +# SPDX-License-Identifier: Apache-2.0 # +# ==================================================================================================================== # # """ An abstract SystemVerilog language model. -:copyright: Copyright 2021-2021 Patrick Lehmann - Bötzingen, Germany +:copyright: Copyright 2021-2022 Patrick Lehmann - Bötzingen, Germany :license: Apache License, Version 2.0 """ from enum import unique, Enum @@ -43,7 +42,7 @@ __author__ = "Patrick Lehmann" __email__ = "Paebbels@gmail.com" -__copyright__ = "2021-2021, Patrick Lehmann" +__copyright__ = "2021-2022, Patrick Lehmann" __license__ = "Apache License, Version 2.0" __version__ = "0.3.5" diff --git a/setup.py b/setup.py index ce4a3880..a6122da8 100644 --- a/setup.py +++ b/setup.py @@ -1,34 +1,34 @@ -# ============================================================================= -# ______ ____ __ _ _ -# _ __ _ _/ ___\ \ / / \/ | ___ __| | ___| | -# | '_ \| | | \___ \\ \ / /| |\/| |/ _ \ / _` |/ _ \ | -# | |_) | |_| |___) |\ V / | | | | (_) | (_| | __/ | -# | .__/ \__, |____/ \_/ |_| |_|\___/ \__,_|\___|_| -# |_| |___/ -# ============================================================================== -# Authors: Patrick Lehmann -# -# Package installer: An abstract System Verilog language model. -# -# License: -# ============================================================================ -# Copyright 2021-2021 Patrick Lehmann - Boetzingen, Germany -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============================================================================ +# ==================================================================================================================== # +# ______ ____ __ _ _ # +# _ __ _ _/ ___\ \ / / \/ | ___ __| | ___| | # +# | '_ \| | | \___ \\ \ / /| |\/| |/ _ \ / _` |/ _ \ | # +# | |_) | |_| |___) |\ V / | | | | (_) | (_| | __/ | # +# | .__/ \__, |____/ \_/ |_| |_|\___/ \__,_|\___|_| # +# |_| |___/ # +# ==================================================================================================================== # +# Authors: # +# Patrick Lehmann # +# # +# License: # +# ==================================================================================================================== # +# Copyright 2021-2022 Patrick Lehmann - Boetzingen, Germany # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +# # +# SPDX-License-Identifier: Apache-2.0 # +# ==================================================================================================================== # # +"""Package installer for 'An abstract System Verilog language model'.""" from pathlib import Path from pyTooling.Packaging import DescribePythonPackageHostedOnGitHub, DEFAULT_CLASSIFIERS diff --git a/tests/unit/Instantiate.py b/tests/unit/Instantiate.py index ce2fd2fd..40c06d9f 100644 --- a/tests/unit/Instantiate.py +++ b/tests/unit/Instantiate.py @@ -1,34 +1,34 @@ -# ============================================================================= -# ____ _ __ __ _ _ __ __ _ _ -# _ __ _ _/ ___| _ _ ___| |_ ___ _ __ __\ \ / /__ _ __(_) | ___ __ _| \/ | ___ __| | ___| | -# | '_ \| | | \___ \| | | / __| __/ _ \ '_ ` _ \ \ / / _ \ '__| | |/ _ \ / _` | |\/| |/ _ \ / _` |/ _ \ | -# | |_) | |_| |___) | |_| \__ \ || __/ | | | | \ V / __/ | | | | (_) | (_| | | | | (_) | (_| | __/ | -# | .__/ \__, |____/ \__, |___/\__\___|_| |_| |_|\_/ \___|_| |_|_|\___/ \__, |_| |_|\___/ \__,_|\___|_| -# |_| |___/ |___/ |___/ -# ============================================================================== -# Authors: Patrick Lehmann -# -# Python unittest: Instantiation tests for the language model. -# -# License: -# ============================================================================== -# Copyright 2021-2021 Patrick Lehmann - Boetzingen, Germany -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============================================================================== +# ==================================================================================================================== # +# ______ ____ __ _ _ # +# _ __ _ _/ ___\ \ / / \/ | ___ __| | ___| | # +# | '_ \| | | \___ \\ \ / /| |\/| |/ _ \ / _` |/ _ \ | # +# | |_) | |_| |___) |\ V / | | | | (_) | (_| | __/ | # +# | .__/ \__, |____/ \_/ |_| |_|\___/ \__,_|\___|_| # +# |_| |___/ # +# ==================================================================================================================== # +# Authors: # +# Patrick Lehmann # +# # +# License: # +# ==================================================================================================================== # +# Copyright 2021-2022 Patrick Lehmann - Boetzingen, Germany # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +# # +# SPDX-License-Identifier: Apache-2.0 # +# ==================================================================================================================== # # +"""Instantiation tests for the language model.""" from unittest import TestCase from pySVModel import VerilogVersion, SystemVerilogVersion diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index e69de29b..cb1597e6 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -0,0 +1,30 @@ +# ==================================================================================================================== # +# ______ ____ __ _ _ # +# _ __ _ _/ ___\ \ / / \/ | ___ __| | ___| | # +# | '_ \| | | \___ \\ \ / /| |\/| |/ _ \ / _` |/ _ \ | # +# | |_) | |_| |___) |\ V / | | | | (_) | (_| | __/ | # +# | .__/ \__, |____/ \_/ |_| |_|\___/ \__,_|\___|_| # +# |_| |___/ # +# ==================================================================================================================== # +# Authors: # +# Patrick Lehmann # +# # +# License: # +# ==================================================================================================================== # +# Copyright 2021-2022 Patrick Lehmann - Boetzingen, Germany # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +# # +# SPDX-License-Identifier: Apache-2.0 # +# ==================================================================================================================== # +# From d40cf8764709e01355a64776ac1ae7131426bba7 Mon Sep 17 00:00:00 2001 From: umarcor Date: Sun, 16 Jan 2022 14:31:34 +0100 Subject: [PATCH 8/8] doc/index: use local toctree refs for coverage and typing --- doc/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index 69e0f149..1001984f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -147,8 +147,8 @@ License :caption: Appendix :hidden: - Coverage Report ➚ - Static Type Check Report ➚ + Coverage Report ➚ + Static Type Check Report ➚ License Doc-License Glossary