Skip to content

Commit 149a3c2

Browse files
committed
⬆️ Update pre-commit hooks
* Reformat for isort 6
1 parent ec60d52 commit 149a3c2

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ repos:
2727
- id: sphinx-lint
2828
types: [rst]
2929
- repo: https://github.com/pycqa/isort
30-
rev: 5.13.2
30+
rev: 6.0.0
3131
hooks:
3232
- id: isort
3333
additional_dependencies: ["toml"]
3434
entry: isort --profile=black
3535
name: isort (python)
3636
- repo: https://github.com/psf/black
37-
rev: 24.10.0
37+
rev: 25.1.0
3838
hooks:
3939
- id: black
4040
- repo: https://github.com/adamchainz/blacken-docs
@@ -45,7 +45,7 @@ repos:
4545
additional_dependencies:
4646
- black
4747
- repo: https://github.com/codespell-project/codespell
48-
rev: v2.3.0
48+
rev: v2.4.1
4949
hooks:
5050
- id: codespell
5151
args: [--toml pyproject.toml]

docs/productive/qa/requests/adapters.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
import os.path
1212
import socket
1313

14-
from urllib3.exceptions import ClosedPoolError, ConnectTimeoutError
14+
from urllib3.exceptions import (
15+
ClosedPoolError,
16+
ConnectTimeoutError,
17+
)
1518
from urllib3.exceptions import HTTPError as _HTTPError
1619
from urllib3.exceptions import (
1720
LocationValueError,
@@ -20,7 +23,10 @@
2023
ProtocolError,
2124
)
2225
from urllib3.exceptions import ProxyError as _ProxyError
23-
from urllib3.exceptions import ReadTimeoutError, ResponseError
26+
from urllib3.exceptions import (
27+
ReadTimeoutError,
28+
ResponseError,
29+
)
2430
from urllib3.exceptions import SSLError as _SSLError
2531
from urllib3.poolmanager import PoolManager, proxy_from_url
2632
from urllib3.response import HTTPResponse

docs/productive/qa/requests/models.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@
3939
is_py2,
4040
)
4141
from .compat import json as complexjson
42-
from .compat import str, urlencode, urlsplit, urlunparse
42+
from .compat import (
43+
str,
44+
urlencode,
45+
urlsplit,
46+
urlunparse,
47+
)
4348
from .cookies import _copy_cookie_jar, cookiejar_from_dict, get_cookie_header
4449
from .exceptions import (
4550
ChunkedEncodingError,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy