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 .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ classifiers = [
]
dependencies = [
"rich",
"typing_extensions",
]
dynamic = ["version"]
requires-python = ">=3.11"

[project.optional-dependencies]
test = [
Expand Down
4 changes: 2 additions & 2 deletions src/aedifix/_version.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
import typing_extensions
from typing import TypeAlias

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

version: str
__version__: str
Expand Down
2 changes: 1 addition & 1 deletion src/aedifix/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
raise RuntimeError(msg) from mnfe

import contextlib
from typing import Self

from rich.align import Align, AlignMethod
from rich.console import Console, RenderableType
from rich.live import Live
from rich.panel import Panel
from rich.rule import Rule
from rich.table import Table
from typing_extensions import Self

if TYPE_CHECKING:
from collections.abc import Sequence
Expand Down
8 changes: 6 additions & 2 deletions tests/package/test_main_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def gen_expected_flags() -> Iterator[list[str]]:
class TestDebugConfigureValue:
@pytest.mark.parametrize(
("val", "expected"),
list(zip(ALL_DEBUG_CONFIGURE_FLAGS, ALL_DEBUG_CMAKE_FLAGS)),
list(
zip(ALL_DEBUG_CONFIGURE_FLAGS, ALL_DEBUG_CMAKE_FLAGS, strict=False)
),
)
def test_flag_matches(
self, val: DebugConfigureValue, expected: str
Expand All @@ -50,7 +52,9 @@ def test_help_str(self) -> None:

@pytest.mark.parametrize(
("val", "expected"),
list(zip(ALL_DEBUG_CONFIGURE_FLAGS, gen_expected_flags())),
list(
zip(ALL_DEBUG_CONFIGURE_FLAGS, gen_expected_flags(), strict=False)
),
)
def test_to_flags(
self, val: DebugConfigureValue, expected: list[str]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def post_test(self, expected_spec: CMakeCommandSpec) -> None:
with self.cmakecache_txt.open() as fd:
# Exploit the fact that zip() will end when the shortest iterator
# is exhausted (i.e. cache_header_lines in this case)
for line, expected in zip(fd, cache_header_lines):
for line, expected in zip(fd, cache_header_lines, strict=False):
assert line == expected
idx += 1
# But double check the fact that cache_header_lines was indeed the
Expand Down
Loading