Skip to content

Commit

Permalink
Make io import conditional to TYPE_CHECKING
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Apr 23, 2024
1 parent 638aa07 commit 6f35fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annif/cli_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from __future__ import annotations

import collections
import io
import itertools
import os
import sys
Expand All @@ -18,6 +17,7 @@
from annif.project import Access

if TYPE_CHECKING:
import io
from datetime import datetime

from click.core import Argument, Context, Option
Expand Down

0 comments on commit 6f35fff

Please sign in to comment.