Skip to content
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
- id: vermin
args: ['--config-file', './setup.cfg']
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.399
rev: v1.1.400
hooks:
- id: pyright
pass_filenames: false
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,4 @@ context = 1
[tool.pyright]
stubPath = "src/typings"
pythonVersion = "3.11"
reportMissingModuleSource = true
reportMissingModuleSource = false
2 changes: 2 additions & 0 deletions src/aedifix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from __future__ import annotations

from . import cmake, package, util
from ._version import version as __version__
from .cmake import (
CMAKE_VARIABLE,
CMakeBool,
Expand Down Expand Up @@ -33,6 +34,7 @@
"ConfigurationManager",
"MainPackage",
"Package",
"__version__",
"basic_configure",
"cmake",
"package",
Expand Down
10 changes: 10 additions & 0 deletions src/aedifix/_version.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
import typing_extensions

VERSION_TUPLE: typing_extensions.TypeAlias = tuple[int | str, ...]

version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE