Skip to content

Commit

Permalink
update changelog, pre-commit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 committed Feb 9, 2024
1 parent 233df6f commit f3510be
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
repos:
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black
language_version: python3.8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.0
rev: v1.8.0
hooks:
- id: mypy
exclude: /tests/
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)

### Added

- Added ability to validate response from a /collections endpoint [#220](https://github.com/stac-utils/stac-validator/issues/220)
- Added mypy to pre-commit config ([#229](https://github.com/stac-utils/stac-validator/pull/224))

## [v3.3.2] - 2023-11-17
Expand Down
6 changes: 3 additions & 3 deletions stac_validator/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ def validate_item_collection(self) -> None:
break
except Exception as e:
message = {}
message[
"pagination_error"
] = f"Validating the item collection failed on page {page}: {str(e)}"
message["pagination_error"] = (
f"Validating the item collection failed on page {page}: {str(e)}"
)
self.message.append(message)

def run(self) -> bool:
Expand Down
1 change: 0 additions & 1 deletion tests/test_validate_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""


from stac_validator import stac_validator


Expand Down
1 change: 0 additions & 1 deletion tests/test_validate_item_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""


from stac_validator import stac_validator


Expand Down

0 comments on commit f3510be

Please sign in to comment.