Skip to content

Commit

Permalink
simpler list, not typing List
Browse files Browse the repository at this point in the history
  • Loading branch information
MatBarba committed Jul 3, 2024
1 parent cf6dfa2 commit ca3ff8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/python/ensembl/io/genomio/gff3/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"GFFSeqFeature",
]

from typing import List

from Bio.SeqFeature import SeqFeature, Location


Expand All @@ -34,7 +32,7 @@ def __init__(
type: str = "", # pylint: disable=W0622
id: str = "<unknown id>", # pylint: disable=W0622
qualifiers: dict | None = None,
sub_features: List[GFFSeqFeature] | None = None,
sub_features: list[GFFSeqFeature] | None = None,
):
super().__init__(location, type=type, id=id, qualifiers=qualifiers)
if sub_features is None:
Expand Down

0 comments on commit ca3ff8c

Please sign in to comment.