diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fcc90db..eec68e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v5.0.0' + rev: 'v6.0.0' hooks: - id: check-merge-conflict exclude: "rst$" @@ -9,16 +9,16 @@ repos: hooks: - id: yesqa - repo: https://github.com/PyCQA/isort - rev: '6.0.1' + rev: '9.0.0a3' hooks: - id: isort -- repo: https://github.com/psf/black - rev: '25.1.0' +- repo: https://github.com/psf/black-pre-commit-mirror + rev: '26.5.0' hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v5.0.0' + rev: 'v6.0.0' hooks: - id: check-case-conflict - id: check-json @@ -35,13 +35,13 @@ repos: - id: debug-statements # Another entry is required to apply file-contents-sorter to another file - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v5.0.0' + rev: 'v6.0.0' hooks: - id: file-contents-sorter files: | .gitignore - repo: https://github.com/asottile/pyupgrade - rev: 'v3.20.0' + rev: 'v3.21.2' hooks: - id: pyupgrade args: ['--py36-plus'] diff --git a/async_timeout/__init__.py b/async_timeout/__init__.py index fe4aa58..bc11d93 100644 --- a/async_timeout/__init__.py +++ b/async_timeout/__init__.py @@ -4,7 +4,6 @@ from types import TracebackType from typing import Optional, Type, final - __version__ = "5.0.1" diff --git a/setup.py b/setup.py index b024da8..6068493 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ from setuptools import setup - setup() diff --git a/tests/test_timeout.py b/tests/test_timeout.py index d1671e9..2acf7fd 100644 --- a/tests/test_timeout.py +++ b/tests/test_timeout.py @@ -8,7 +8,6 @@ from async_timeout import timeout, timeout_at - _Func = TypeVar("_Func", bound=Callable[..., Any])