Skip to content

Commit 5b8fd55

Browse files
Remove from __future__ import annotations from typer files to try and avoid performance regression
1 parent 72c804a commit 5b8fd55

6 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/usethis/_app.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""The Typer application for usethis."""
22

3-
from __future__ import annotations
4-
53
import typer
64

75
import usethis._interface.badge

src/usethis/_interface/badge.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import typer
42

53
from usethis._config import offline_opt, quiet_opt, usethis_config

src/usethis/_interface/browse.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import typer
42

53
from usethis._config import offline_opt, quiet_opt, usethis_config

src/usethis/_interface/ci.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import typer
42

53
from usethis._config import offline_opt, quiet_opt, usethis_config

src/usethis/_interface/show.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import typer
42

53
from usethis._config import offline_opt, quiet_opt, usethis_config

src/usethis/_interface/tool.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Protocol
42

53
import typer

0 commit comments

Comments
 (0)