Skip to content

Commit

Permalink
chore(cff): use type hint for list from python standard collection
Browse files Browse the repository at this point in the history
Co-authored-by: Cyril Matthey-Doret <cyril.matthey-doret@epfl.ch>
  • Loading branch information
rmfranken and cmdoret authored Dec 17, 2024
1 parent df9295e commit 76060ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimie/parsers/cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def doi_to_url(doi: str) -> str:
return f"https://doi.org/{doi_match}"


def get_cff_doi(data: bytes) -> Optional[List[str]]:
def get_cff_doi(data: bytes) -> Optional[list[str]]:
"""Given a CFF file, returns a list of DOIs, if any.
Parameters
Expand Down

0 comments on commit 76060ca

Please sign in to comment.