Skip to content

Commit

Permalink
Prepare for release (#320)
Browse files Browse the repository at this point in the history
* increase version and add changelog

* autoupdate precommit
  • Loading branch information
zigaLuksic authored Jan 3, 2024
1 parent ce6e141 commit 8146699
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ repos:
- id: debug-statements

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.4"
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
exclude: "tests/(test_stats|test_project)/"
types_or: [json]

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.1
hooks:
- id: black
language_version: python3

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.1.7"
rev: "v0.1.11"
hooks:
- id: ruff

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [Version 1.7.4] - 2024-01-03

- Pipelines now have an additional parameter `raise_if_failed` to raise an error if the pipeline failed.


## [Version 1.7.3] - 2023-12-11

- Fix bug with versions of `sentinelhub-py >= 3.10.0` due to bad version string comparison.
Expand Down
2 changes: 1 addition & 1 deletion eogrow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The main module of the eo-grow package."""

__version__ = "1.7.3"
__version__ = "1.7.4"
6 changes: 3 additions & 3 deletions eogrow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ def _prepare_chain(
for i, run_config in enumerate(config):
if "pipeline_config" not in run_config:
raise ValueError(f"Pipeline-chain element {i} is missing the field `pipeline_config`.")
raw_chain.append({
**run_config, "pipeline_config": _prepare_config(run_config["pipeline_config"], variables, test_patches)
})
raw_chain.append(
{**run_config, "pipeline_config": _prepare_config(run_config["pipeline_config"], variables, test_patches)}
)
return raw_chain # type: ignore[return-value]


Expand Down

0 comments on commit 8146699

Please sign in to comment.