Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Sep 18, 2023
1 parent 73b9af6 commit 641eafc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion earthaccess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
_lock = threading.Lock()


def __getattr__(name):
def __getattr__(name): # type: ignore
global _auth, _store

if name == "__auth__" or name == "__store__":
Expand Down
3 changes: 1 addition & 2 deletions earthaccess/api.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from typing import Any, Dict, List, Optional, Type, Union

import earthaccess
import requests
import s3fs
from fsspec import AbstractFileSystem

import earthaccess

from .auth import Auth
from .search import CollectionQuery, DataCollections, DataGranules, GranuleQuery
from .store import Store
Expand Down
7 changes: 3 additions & 4 deletions earthaccess/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,20 @@
from functools import lru_cache
from itertools import chain
from pathlib import Path
from typing import Any, Callable, Dict, List, Optional, Union
from typing import Any, Dict, List, Optional, Union
from uuid import uuid4

import earthaccess
import fsspec
import requests
import s3fs
from multimethod import multimethod as singledispatchmethod
from pqdm.threads import pqdm

import earthaccess

from .auth import Auth
from .daac import DAAC_TEST_URLS, find_provider
from .results import DataGranule
from .search import DataCollections
from .auth import Auth


class EarthAccessFile(fsspec.spec.AbstractBufferedFile):
Expand Down

0 comments on commit 641eafc

Please sign in to comment.