diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b42096a..e01b5c1 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 + rev: 25.1.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.15.0 hooks: - id: reorder-python-imports args: ['--application-directories=.:src'] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.20.0 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.3" + rev: "v2.6.0" hooks: - id: pyproject-fmt - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.8.0' + rev: 'v1.17.1' hooks: - id: mypy diff --git a/pyproject.toml b/pyproject.toml index 5b59b41..0033da4 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,21 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "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 +58,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}"