Skip to content

Commit

Permalink
Ignore mypy for stub-less h5py module
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Jul 25, 2023
1 parent 059e7f4 commit 11bbd02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datahub/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Script for running Datahub API."""
from typing import Any, Hashable

import h5py
import h5py # type: ignore
from fastapi import FastAPI, HTTPException, UploadFile
from pydantic import BaseModel

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import random

import h5py
import h5py # type: ignore
import numpy as np
import pytest
from fastapi.testclient import TestClient
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dsr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import h5py
import h5py # type: ignore
import numpy as np
import pytest
from fastapi.testclient import TestClient
Expand Down

0 comments on commit 11bbd02

Please sign in to comment.