Skip to content

Commit

Permalink
style: fix linter and docs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CaselIT committed Jul 13, 2024
1 parent 0270b8c commit fa70197
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions falcon/routing/compiled.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
import re
from threading import Lock
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dict,
List,
Optional,
Pattern,
Set,
Union,
Tuple,
Type,
TYPE_CHECKING,
Union,
)

from falcon.routing import converters
Expand All @@ -43,7 +43,7 @@
from falcon.util.sync import wrap_sync_to_async

if TYPE_CHECKING: # TODO: switch to TYPE_CHECKING once support for py3.5 is dropped
from falcon.request import Request
from falcon import Request

_CxElement = Union['_CxParent', '_CxChild']
_MethodDict = Dict[str, Callable]
Expand Down
3 changes: 2 additions & 1 deletion falcon/routing/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"""Routing utilities."""

from __future__ import annotations

import re
from typing import Optional, Dict, Callable
from typing import Callable, Dict, Optional

from falcon import constants
from falcon import responders
Expand Down

0 comments on commit fa70197

Please sign in to comment.