diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6ef709a..b9e7d5f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -41,10 +41,8 @@ repos:
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- - repo: https://github.com/psf/black
- rev: 24.8.0
- hooks:
- - id: black
+ # Run the formatter.
+ - id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
diff --git a/README.md b/README.md
index 0abe90d..a1cbd99 100644
--- a/README.md
+++ b/README.md
@@ -15,8 +15,8 @@
-
-
+
+
diff --git a/src/aiohappyeyeballs/utils.py b/src/aiohappyeyeballs/utils.py
index b5745ae..ea29adb 100644
--- a/src/aiohappyeyeballs/utils.py
+++ b/src/aiohappyeyeballs/utils.py
@@ -10,7 +10,7 @@
def addr_to_addr_infos(
addr: Optional[
Union[Tuple[str, int, int, int], Tuple[str, int, int], Tuple[str, int]]
- ]
+ ],
) -> Optional[List[AddrInfoType]]:
"""Convert an address tuple to a list of addr_info tuples."""
if addr is None:
@@ -59,7 +59,7 @@ def pop_addr_infos_interleave(
def _addr_tuple_to_ip_address(
- addr: Union[Tuple[str, int], Tuple[str, int, int, int]]
+ addr: Union[Tuple[str, int], Tuple[str, int, int, int]],
) -> Union[
Tuple[ipaddress.IPv4Address, int], Tuple[ipaddress.IPv6Address, int, int, int]
]: