diff --git a/tests/test_project_sanity.py b/tests/test_project_sanity.py index 5610864..4d9ff51 100644 --- a/tests/test_project_sanity.py +++ b/tests/test_project_sanity.py @@ -1,3 +1,8 @@ +################################################################################ +# Copyright © 2025 Analog Devices Inc. All Rights Reserved. +# This software is proprietary to Analog Devices, Inc. and its licensors. +################################################################################ +"""Check if the project is sane.""" import pathlib import re @@ -10,6 +15,8 @@ def test_version(): + """Check if the version in the version file matches the one of the installed package.""" + version_file_path = project_root_dir_path / "pytrinamic/version.py" version_pattern = re.compile(r"^__version__\s*=\s*['\"]([^'\"]+)['\"]") with open(version_file_path, "r") as file: