Skip to content

Commit ffd5bfe

Browse files
chore(pre-commit.ci): pre-commit autoupdate (#5)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
1 parent f40d8e7 commit ffd5bfe

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.pre-commit-config.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v3.13.0
12+
rev: v3.27.0
1313
hooks:
1414
- id: commitizen
1515
stages: [commit-msg]
1616
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v4.5.0
17+
rev: v4.6.0
1818
hooks:
1919
- id: debug-statements
2020
- id: check-builtin-literals
@@ -28,29 +28,29 @@ repos:
2828
- id: end-of-file-fixer
2929
- id: trailing-whitespace
3030
- repo: https://github.com/python-poetry/poetry
31-
rev: 1.7.1
31+
rev: 1.8.0
3232
hooks:
3333
- id: poetry-check
3434
- repo: https://github.com/pre-commit/mirrors-prettier
35-
rev: v3.1.0
35+
rev: v4.0.0-alpha.8
3636
hooks:
3737
- id: prettier
3838
args: ["--tab-width", "2"]
3939
- repo: https://github.com/astral-sh/ruff-pre-commit
40-
rev: v0.1.8
40+
rev: v0.4.10
4141
hooks:
4242
- id: ruff
4343
args: [--fix, --exit-non-zero-on-fix]
4444
- repo: https://github.com/psf/black
45-
rev: 23.12.0
45+
rev: 24.4.2
4646
hooks:
4747
- id: black
4848
- repo: https://github.com/codespell-project/codespell
49-
rev: v2.2.6
49+
rev: v2.3.0
5050
hooks:
5151
- id: codespell
5252
- repo: https://github.com/pre-commit/mirrors-mypy
53-
rev: v1.7.1
53+
rev: v1.10.0
5454
hooks:
5555
- id: mypy
5656
additional_dependencies: []

src/cached_ipaddress/backports/functools.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Functools backports from standard lib."""
2+
23
from __future__ import annotations
34

45
import sys
@@ -33,12 +34,10 @@ def __set_name__(self, owner: type[Any], name: str) -> None:
3334
)
3435

3536
@overload
36-
def __get__(self, instance: None, owner: type[Any] | None = None) -> Any:
37-
...
37+
def __get__(self, instance: None, owner: type[Any] | None = None) -> Any: ...
3838

3939
@overload
40-
def __get__(self, instance: Any, owner: type[Any] | None = None) -> _T:
41-
...
40+
def __get__(self, instance: Any, owner: type[Any] | None = None) -> _T: ...
4241

4342
def __get__(self, instance: Any | None, owner: type[Any] | None = None) -> _T | Any:
4443
"""Get."""

0 commit comments

Comments
 (0)