Skip to content

Commit 59733ca

Browse files
committed
release: v0.2.4
1 parent 2603182 commit 59733ca

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 23.10.0
4-
hooks:
5-
- id: black
62
- repo: https://github.com/pre-commit/mirrors-mypy
7-
rev: v1.6.1
3+
rev: v1.9.0
84
hooks:
95
- id: mypy
106
additional_dependencies:
@@ -16,6 +12,7 @@ repos:
1612
- types-tabulate
1713
- types-tqdm
1814
- repo: https://github.com/charliermarsh/ruff-pre-commit
19-
rev: "v0.1.1"
15+
rev: "v0.3.5"
2016
hooks:
2117
- id: ruff
18+
- id: ruff-format

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [0.2.4] - 2024-04-02
10+
911
### Added
1012

1113
- `open_href` ([#123](https://github.com/stac-utils/stac-asset/pull/123))
@@ -115,7 +117,8 @@ Used to be <https://github.com/gadomski/stac-asset>.
115117

116118
Initial release.
117119

118-
[unreleased]: https://github.com/stac-utils/stac-asset/compare/v0.2.3...HEAD
120+
[unreleased]: https://github.com/stac-utils/stac-asset/compare/v0.2.4...HEAD
121+
[0.2.4]: https://github.com/stac-utils/stac-asset/compare/v0.2.3...v0.2.4
119122
[0.2.3]: https://github.com/stac-utils/stac-asset/compare/v0.2.2...v0.2.3
120123
[0.2.2]: https://github.com/stac-utils/stac-asset/compare/v0.2.1...v0.2.2
121124
[0.2.1]: https://github.com/stac-utils/stac-asset/compare/v0.2.0...v0.2.1

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stac-asset"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
description = "Read and download STAC assets across platforms and providers"
55
authors = [{ name = "Pete Gadomski", email = "[email protected]" }]
66
readme = "README.md"
@@ -34,7 +34,6 @@ cli = [
3434
"tqdm~=4.66.1",
3535
]
3636
dev = [
37-
"black~=24.0",
3837
"mypy~=1.3",
3938
"pre-commit~=3.3",
4039
"pystac[validation]>=1.8.4",
@@ -71,14 +70,14 @@ module = [
7170
ignore_missing_imports = true
7271

7372

74-
[tool.ruff]
73+
[tool.ruff.lint]
7574
select = ["F", "E", "W", "I", "ERA", "RUF", "D"]
7675
ignore = ["D100", "D105", "D107"]
7776

78-
[tool.ruff.per-file-ignores]
77+
[tool.ruff.lint.per-file-ignores]
7978
"tests/**/*.py" = ["D"]
8079
"docs/conf.py" = ["D"]
8180
"src/stac_asset/_cli.py" = ["D301"]
8281

83-
[tool.ruff.pydocstyle]
82+
[tool.ruff.lint.pydocstyle]
8483
convention = "google"

src/stac_asset/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
unsupported, but is on the roadmap.
1414
"""
1515

16-
1716
from ._functions import (
1817
assert_asset_exists,
1918
asset_exists,

src/stac_asset/_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ async def read_href(
498498

499499

500500
def make_asset_hrefs_relative(
501-
stac_object: Union[Item, Collection]
501+
stac_object: Union[Item, Collection],
502502
) -> Union[Item, Collection]:
503503
# Copied from
504504
# https://github.com/stac-utils/pystac/blob/381cf89fc25c15142fb5a187d905e22681de42a2/pystac/item.py#L284C5-L298C20
@@ -516,7 +516,7 @@ def make_asset_hrefs_relative(
516516

517517

518518
def make_asset_hrefs_absolute(
519-
stac_object: Union[Item, Collection]
519+
stac_object: Union[Item, Collection],
520520
) -> Union[Item, Collection]:
521521
# Copied from
522522
# https://github.com/stac-utils/pystac/blob/381cf89fc25c15142fb5a187d905e22681de42a2/pystac/item.py#L309C3-L319C1

0 commit comments

Comments
 (0)