From 37a9b1fb8c1486bfeb0add31492676ead4c3affb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Oct 2025 22:53:35 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 23.12.1 → 25.9.0](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...25.9.0) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0) - [github.com/pycqa/flake8: 6.1.0 → 7.3.0](https://github.com/pycqa/flake8/compare/6.1.0...7.3.0) - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.16.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.16.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.21.0](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.21.0) - [github.com/tox-dev/pyproject-fmt: 1.5.3 → v2.11.0](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...v2.11.0) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.18.2) --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b42096a..d3ff646 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: -- repo: https://github.com/psf/black - rev: 23.12.1 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.9.0 hooks: - id: black args: [--safe, --quiet] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -14,27 +14,27 @@ repos: - id: check-yaml - id: debug-statements - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: - flake8-typing-imports==1.14.0 - repo: https://github.com/asottile/reorder-python-imports - rev: v3.12.0 + rev: v3.16.0 hooks: - id: reorder-python-imports args: ['--application-directories=.:src'] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.21.0 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.3" + rev: "v2.11.0" hooks: - id: pyproject-fmt - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.8.0' + rev: 'v1.18.2' hooks: - id: mypy From 430757ad15b1fb7ab63081065dac451fe823951f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Oct 2025 22:54:52 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5b59b41..e9062f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,10 +11,10 @@ description = "apipkg: namespace control and lazy-import mechanism" readme = "README.rst" license = "MIT" maintainers = [ - { name = "Ronny Pfannschmidt", email = "opensource+apipkg@ronnypfannschmidt.de"} + { name = "Ronny Pfannschmidt", email = "opensource+apipkg@ronnypfannschmidt.de" }, ] authors = [ - { name = "holger krekel" }, + { name = "holger krekel" }, ] requires-python = ">=3.7" classifiers = [ @@ -32,21 +32,22 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries", ] dynamic = [ "version", ] -[project.urls] -Homepage = "https://github.com/pytest-dev/apipkg" +urls.Homepage = "https://github.com/pytest-dev/apipkg" [tool.hatch.version] source = "vcs" [tool.hatch.build.targets.sdist] include = [ - "/src", + "/src", ] [tool.hatch.build.hooks.vcs] version-file = "src/apipkg/_version.py" @@ -58,7 +59,7 @@ dependencies = [ "pytest-cov", ] [[tool.hatch.envs.test.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = [ "3.7", "3.8", "3.9", "3.10", "3.11" ] [tool.hatch.envs.test.scripts] run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=tests {args}"