Skip to content

Commit 95ce27f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6591ead commit 95ce27f

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

earthaccess/auth.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import importlib.metadata
33
import logging
44
import os
5-
from pathlib import Path
65
from netrc import NetrcParseError
76
from pathlib import Path
87
from typing import Any, Dict, List, Optional
@@ -258,9 +257,7 @@ def _netrc(self) -> bool:
258257
try:
259258
my_netrc = Netrc()
260259
except FileNotFoundError as err:
261-
raise FileNotFoundError(
262-
f"No .netrc found in {Path.home()}"
263-
) from err
260+
raise FileNotFoundError(f"No .netrc found in {Path.home()}") from err
264261
except NetrcParseError as err:
265262
raise NetrcParseError("Unable to parse .netrc") from err
266263
if my_netrc["urs.earthdata.nasa.gov"] is not None:

earthaccess/store.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import datetime
2-
from pathlib import Path
32
import shutil
43
import traceback
54
from functools import lru_cache

tests/integration/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# package imports
22
import logging
33
import os
4-
from pathlib import Path
54
import unittest
5+
from pathlib import Path
66

77
import earthaccess
88
import pytest

tests/integration/test_cloud_download.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# package imports
22
import logging
33
import os
4-
from pathlib import Path
54
import random
65
import shutil
76
import unittest

tests/integration/test_kerchunk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import logging
22
import os
3-
from pathlib import Path
43
import unittest
4+
from pathlib import Path
55

66
import earthaccess
77
import pytest

0 commit comments

Comments
 (0)