diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 501651b08..3f4232fef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,23 +1,23 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer - id: check-added-large-files - id: trailing-whitespace - id: check-yaml - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.6.0 + rev: v2.11.1 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.8 + rev: v0.14.4 hooks: - id: ruff args: [ "--fix", "--unsafe-fixes", "--show-fixes", "--exit-non-zero-on-fix"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.18.2 hooks: - id: mypy args: ['--warn-unused-ignores', '--strict-equality','--no-implicit-optional', '--check-untyped-defs'] @@ -30,7 +30,7 @@ repos: - "tomli; python_version < '3.11'" # Configuration for codespell is in pyproject.toml - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell additional_dependencies: diff --git a/pyproject.toml b/pyproject.toml index 5280ac9c8..5ede90dbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dynamic = [ "version", diff --git a/testdata/empty_project/pyproject.toml b/testdata/empty_project/pyproject.toml index 9f344b83e..8deadc0e9 100644 --- a/testdata/empty_project/pyproject.toml +++ b/testdata/empty_project/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] scripts.empty-project = "empty_project.main:cli" entry-points."pipx.run".empty-project = "empty_project.main:cli" diff --git a/tests/test_package_specifier.py b/tests/test_package_specifier.py index 96af1a499..2164c402e 100644 --- a/tests/test_package_specifier.py +++ b/tests/test_package_specifier.py @@ -272,6 +272,6 @@ def test_parse_specifier_for_install( root, ): monkeypatch.chdir(root) - [package_or_url_out, pip_args_out] = parse_specifier_for_install(package_spec_in, pip_args_in) + [_package_or_url_out, _pip_args_out] = parse_specifier_for_install(package_spec_in, pip_args_in) if warning_str is not None: assert warning_str in caplog.text