Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
:copyright: (c) 2014 Rackspace
:license: Apache v2.0, see LICENSE for details
"""

from .api import IRIReference
from .api import URIReference
from .api import iri_reference
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/abnf_regexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module for the regular expressions crafted from ABNF."""

import sys

# https://tools.ietf.org/html/rfc3986#page-13
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
This module defines functions and provides access to the public attributes
and classes of rfc3986.
"""

import typing as t

from .iri import IRIReference
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module containing the logic for the URIBuilder object."""

import typing as t
from urllib.parse import parse_qsl
from urllib.parse import urlencode
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Compatibility module for Python 2 and 3 support."""

import typing as t

__all__ = (
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
This module contains important constants, patterns, and compiled regular
expressions for parsing and validating URIs and their components.
"""

import re
import typing as t

Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/normalizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module with functions to normalize components."""

import re
import typing as t
from urllib.parse import quote as urlquote
Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/parseresult.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module containing the urlparse compatibility logic."""

import typing as t
from collections import namedtuple

Expand Down
1 change: 1 addition & 0 deletions src/rfc3986/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module containing the validation logic for rfc3986."""

import typing as t

from . import exceptions
Expand Down
1 change: 1 addition & 0 deletions tests/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module containing the tests for the URIBuilder object."""

try:
from urllib.parse import parse_qs
except ImportError:
Expand Down