Skip to content

Commit 06a64e1

Browse files
authored
Merge branch 'main' into patch-2
2 parents f9456fb + ce1892b commit 06a64e1

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@ ci:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.6.0
6+
rev: v6.0.0
77
hooks:
88
- id: check-yaml
99
- id: debug-statements
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/pycqa/isort
13-
rev: 5.13.2
13+
rev: 7.0.0
1414
hooks:
1515
- id: isort
1616
- repo: https://github.com/psf/black
17-
rev: 24.4.2
17+
rev: 25.11.0
1818
hooks:
1919
- id: black
2020
- repo: https://github.com/asottile/pyupgrade
21-
rev: v3.16.0
21+
rev: v3.21.2
2222
hooks:
2323
- id: pyupgrade
2424
args: [--py38-plus]
2525
- repo: https://github.com/pycqa/flake8
26-
rev: 7.1.0
26+
rev: 7.3.0
2727
hooks:
2828
- id: flake8
2929
exclude: ^(tests/|docs/|setup.py)
@@ -33,7 +33,7 @@ repos:
3333
rev: v3.1.0
3434
hooks:
3535
- id: setup-cfg-fmt
36-
args: [--include-version-classifiers, --min-py-version=3.8, --max-py-version=3.12]
36+
args: [--include-version-classifiers, --min-py-version=3.8]
3737
#- repo: https://github.com/pre-commit/mirrors-mypy
3838
# rev: v0.910-1
3939
# hooks:

docs/source/narrative.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ URIs, and finally there's an API to build URIs.
1818
|rfc3986| parses URIs much differently from :mod:`urllib.parse` so users may
1919
see some subtle differences with very specific URLs that contain rough
2020
edgecases. Regardless, we do our best to implement the same API so you should
21-
be able to seemlessly swap |rfc3986| for ``urlparse``.
21+
be able to seamlessly swap |rfc3986| for ``urlparse``.
2222

2323

2424
.. toctree::

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ classifiers =
2121
Programming Language :: Python :: 3.10
2222
Programming Language :: Python :: 3.11
2323
Programming Language :: Python :: 3.12
24+
Programming Language :: Python :: 3.13
25+
Programming Language :: Python :: 3.14
2426
Programming Language :: Python :: Implementation :: CPython
2527
project_urls =
2628
Source = https://github.com/python-hyper/rfc3986

src/rfc3986/abnf_regexp.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -195,20 +195,20 @@
195195

196196
# Only wide-unicode gets the high-ranges of UCSCHAR
197197
if sys.maxunicode > 0xFFFF: # pragma: no cover
198-
IPRIVATE = "\uE000-\uF8FF\U000F0000-\U000FFFFD\U00100000-\U0010FFFD"
198+
IPRIVATE = "\ue000-\uf8ff\U000f0000-\U000ffffd\U00100000-\U0010fffd"
199199
UCSCHAR_RE = (
200-
"\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF"
201-
"\U00010000-\U0001FFFD\U00020000-\U0002FFFD"
202-
"\U00030000-\U0003FFFD\U00040000-\U0004FFFD"
203-
"\U00050000-\U0005FFFD\U00060000-\U0006FFFD"
204-
"\U00070000-\U0007FFFD\U00080000-\U0008FFFD"
205-
"\U00090000-\U0009FFFD\U000A0000-\U000AFFFD"
206-
"\U000B0000-\U000BFFFD\U000C0000-\U000CFFFD"
207-
"\U000D0000-\U000DFFFD\U000E1000-\U000EFFFD"
200+
"\u00a0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef"
201+
"\U00010000-\U0001fffd\U00020000-\U0002fffd"
202+
"\U00030000-\U0003fffd\U00040000-\U0004fffd"
203+
"\U00050000-\U0005fffd\U00060000-\U0006fffd"
204+
"\U00070000-\U0007fffd\U00080000-\U0008fffd"
205+
"\U00090000-\U0009fffd\U000a0000-\U000afffd"
206+
"\U000b0000-\U000bfffd\U000c0000-\U000cfffd"
207+
"\U000d0000-\U000dfffd\U000e1000-\U000efffd"
208208
)
209209
else: # pragma: no cover
210-
IPRIVATE = "\uE000-\uF8FF"
211-
UCSCHAR_RE = "\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF"
210+
IPRIVATE = "\ue000-\uf8ff"
211+
UCSCHAR_RE = "\u00a0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef"
212212

213213
IUNRESERVED_RE = "A-Za-z0-9\\._~\\-" + UCSCHAR_RE
214214
IPCHAR = "([" + IUNRESERVED_RE + SUB_DELIMITERS_RE + ":@]|%s)" % PCT_ENCODED

0 commit comments

Comments
 (0)