Skip to content

Commit

Permalink
unalias typing
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
  • Loading branch information
miketheman committed Nov 21, 2024
1 parent 88d8fb9 commit 281b140
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ parallel = true
exclude_lines = [
"pragma: no cover",
"class \\w+\\(Interface\\):",
"if (typing\\.|t\\.)?TYPE_CHECKING:",
"if (typing\\.)?TYPE_CHECKING:",
]

[tool.curlylint]
Expand Down
4 changes: 2 additions & 2 deletions warehouse/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from __future__ import annotations

import typing as t
from typing import TYPE_CHECKING

from nh3 import clean, is_html
from wtforms import Form as BaseForm, StringField
Expand All @@ -22,7 +22,7 @@
from warehouse.i18n import KNOWN_LOCALES
from warehouse.utils.http import is_valid_uri

if t.TYPE_CHECKING:
if TYPE_CHECKING:
from wtforms.fields import Field


Expand Down

0 comments on commit 281b140

Please sign in to comment.