Skip to content

Commit

Permalink
ignore missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 30, 2024
1 parent 6a8f87d commit 0dc1991
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Install mypy
run: pip install mypy
- name: Test
run: mypy ${{ github.event.repository.name }}
run: mypy --ignore-missing-imports ${{ github.event.repository.name }}
4 changes: 2 additions & 2 deletions pyfileindex/pyfileindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from typing import Callable, Generator, Optional

import numpy as np
import pandas # type: ignore
import pandas

try:
from os import scandir # type: ignore
from os import scandir
except ImportError:
from scandir import scandir # type: ignore

Expand Down

0 comments on commit 0dc1991

Please sign in to comment.