diff --git a/.github/workflows/github-action-type.yaml b/.github/workflows/github-action-type.yaml index afb503d..f73041b 100644 --- a/.github/workflows/github-action-type.yaml +++ b/.github/workflows/github-action-type.yaml @@ -19,9 +19,9 @@ jobs: pip install -e ".[type]" - name: Type checking with mypy run: > - MYPYPATH=src mypy --namespace-packages --explicit-package-bases --allow-redefinition + --ignore-missing-imports src diff --git a/src/lantmateriet/api.py b/src/lantmateriet/api.py index bc8bb7b..8c2392a 100644 --- a/src/lantmateriet/api.py +++ b/src/lantmateriet/api.py @@ -6,7 +6,6 @@ import os import zipfile from pathlib import Path -from typing import Optional import requests from tqdm import tqdm diff --git a/src/lantmateriet/geometry.py b/src/lantmateriet/geometry.py index d7583d3..47313cd 100644 --- a/src/lantmateriet/geometry.py +++ b/src/lantmateriet/geometry.py @@ -3,7 +3,7 @@ import os from copy import deepcopy from os import path -from typing import Optional, Union +from typing import Union import geopandas as gpd from lantmateriet import config