Skip to content

Commit 3573488

Browse files
committed
fix: lints
1 parent 59cffa0 commit 3573488

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: flake8
2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v0.991
24+
rev: v1.19.0
2525
hooks:
2626
- id: mypy
2727
args:
@@ -32,6 +32,7 @@ repos:
3232
- types-requests
3333
- types-setuptools
3434
- stactools
35+
- pytest
3536
- repo: https://github.com/pycqa/isort
3637
rev: 5.12.0
3738
hooks:

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ ignore_missing_imports = True
1818
ignore_missing_imports = True
1919

2020
[mypy-multihash.*]
21-
ignore_missing_imports = True
21+
ignore_missing_imports = True

src/stactools/modis/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def get_exception(xpath: str) -> Exception:
156156

157157
if qa_percent_cloud_cover and qa_percent_not_produced_cloud is None:
158158
assert len(set(qa_percent_cloud_cover.values())) == 1, (
159-
f"Mutiple, different 'qa_percent_cloud_cover' values exist "
159+
f"Multiple, different 'qa_percent_cloud_cover' values exist "
160160
f"in href={href}. This is not supported at this time."
161161
)
162162
qa_percent_not_produced_cloud = next(iter(qa_percent_cloud_cover.values()))

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ def create_external_data_dict() -> Dict[str, Dict[str, Any]]:
123123

124124
external_data = create_external_data_dict()
125125

126-
test_data = TestData(__file__, external_data=external_data)
126+
test_data = TestData(__file__, external_data=external_data) # type: ignore

0 commit comments

Comments
 (0)