Skip to content

Commit b569dd9

Browse files
committed
#9 Ignore Pyright error related to Series
1 parent bbf7b57 commit b569dd9

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

deshima_rawdata/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def download(
4949
Path of the downloaded raw data.
5050
5151
"""
52-
file_name = Path(DATA_LIST["File name"][str(obsid)])
52+
file_name = DATA_LIST["File name"][str(obsid)] # type: ignore
5353
url = f"{DATA_REPO_URL}/raw/{tag}/data/{file_name}"
5454

5555
if not (response := get(url, stream=True)).ok:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ pytest = "^7.4"
2525
[tool.poetry.scripts]
2626
deshima-rawdata = "deshima_rawdata.cli:main"
2727

28+
[tool.pyright]
29+
typeCheckingMode = "basic"
30+
2831
[build-system]
2932
requires = ["poetry-core"]
3033
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)