Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Aug 25, 2024
1 parent b2e1948 commit 356346c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/openscm_zenodo/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import json
from pathlib import Path
from typing import Annotated, Optional
from typing import Annotated, Optional, Union

import typer
from loguru import logger
Expand Down Expand Up @@ -69,7 +69,7 @@
]

TOKEN_TYPE: TypeAlias = Annotated[
str,
Union[str, None],
typer.Option(
envvar="ZENODO_TOKEN",
help=(
Expand Down
2 changes: 1 addition & 1 deletion src/openscm_zenodo/zenodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def get_metadata(
def get_bibtex_entry(
self,
deposition_id: str,
) -> MetadataType:
) -> str:
"""
Get the bibtex entry for a given deposition ID
Expand Down

0 comments on commit 356346c

Please sign in to comment.