Skip to content

Commit

Permalink
Add case for untyped parser
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Jan 7, 2025
1 parent abb6196 commit 6ad10b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/mypy_test_cases/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import decimal
import pathlib
import uuid
from typing import Any
from urllib.parse import ParseResult

import environs
Expand All @@ -37,3 +38,4 @@
R: int | None = env.log_level("FOO", None)
S: uuid.UUID | None = env.uuid("FOO", None)
T: ParseResult | None = env.url("FOO", None)
U: Any = env("FOO", None)

0 comments on commit 6ad10b3

Please sign in to comment.