diff --git a/.github/scripts/get_latest_changelog.py b/.github/scripts/get_latest_changelog.py index 5616efb..2382f58 100644 --- a/.github/scripts/get_latest_changelog.py +++ b/.github/scripts/get_latest_changelog.py @@ -29,6 +29,7 @@ ``` """ + import re h2 = r"^##\s.*$" diff --git a/hatch_version_hook.py b/hatch_version_hook.py index d7024ea..222ef81 100644 --- a/hatch_version_hook.py +++ b/hatch_version_hook.py @@ -7,7 +7,6 @@ from hatchling.builders.hooks.plugin.interface import BuildHookInterface from typing import Any, Optional - _logger = logging.Logger(__name__, logging.INFO) _stdout_handler = logging.StreamHandler(sys.stdout) _stdout_handler.addFilter(lambda record: record.levelno <= logging.INFO) diff --git a/requirements-testing.txt b/requirements-testing.txt index 97116eb..fd78099 100644 --- a/requirements-testing.txt +++ b/requirements-testing.txt @@ -1,9 +1,12 @@ coverage[toml] == 7.* -pytest == 8.4.* +pytest == 9.1.*; python_version >= "3.10" +pytest == 8.4.*; python_version < "3.10" pytest-cov == 7.1.* pytest-timeout == 2.4.* pytest-xdist == 3.8.* types-PyYAML == 6.* -black == 25.* -mypy == 1.19.* +black == 26.*; python_version >= "3.10" +black == 25.*; python_version < "3.10" +mypy == 2.1.*; python_version >= "3.10" +mypy == 1.19.*; python_version < "3.10" ruff == 0.15.* diff --git a/src/openjd/__main__.py b/src/openjd/__main__.py index f777da6..33e32c6 100644 --- a/src/openjd/__main__.py +++ b/src/openjd/__main__.py @@ -2,5 +2,4 @@ from .cli._create_argparser import main - main() diff --git a/src/openjd/cli/_create_argparser.py b/src/openjd/cli/_create_argparser.py index bc92cf5..ad059a2 100644 --- a/src/openjd/cli/_create_argparser.py +++ b/src/openjd/cli/_create_argparser.py @@ -14,7 +14,6 @@ from ._run import populate_argparser as populate_run_subparser from ._schema import populate_argparser as populate_schema_subparser - # Our CLI subcommand construction requires that all leaf subcommands define a default # 'func' property which is a Callable[[],None] that implements the subcommand. # After parsing, we call that `func` argument of the resulting args object. diff --git a/test/openjd/cli/test_run_command.py b/test/openjd/cli/test_run_command.py index 7285328..df0d656 100644 --- a/test/openjd/cli/test_run_command.py +++ b/test/openjd/cli/test_run_command.py @@ -23,7 +23,6 @@ from openjd.cli._run._local_session._session_manager import LoggingTimestampFormat from openjd.sessions import LOG as SessionsLogger, PathMappingRule, PathFormat - PARAMETRIZE_CASES: tuple = ( pytest.param( "basic.yaml",