Skip to content

Commit b495dec

Browse files
Merge pull request #143 from nasa/dependabot/pip/develop/pip-dependencies-5261b63bc0
Bump the pip-dependencies group with 3 updates
2 parents 9670e3c + ce5531b commit b495dec

File tree

5 files changed

+395
-361
lines changed

5 files changed

+395
-361
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.6.0
9+
rev: v5.0.0
1010
hooks:
1111
- id: trailing-whitespace
1212
exclude: tests(/\w*)*/functional/t/trailing_whitespaces.py|tests/pyreverse/data/.*.html|doc/data/messages/t/trailing-whitespace/bad.py
@@ -20,19 +20,19 @@ repos:
2020
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
2222
# Ruff version.
23-
rev: 'v0.4.10'
23+
rev: 'v0.7.0'
2424
hooks:
2525
- id: ruff
2626
args: [ "--fix" ]
2727

2828
# https://github.com/python/black#version-control-integration
2929
- repo: https://github.com/psf/black
30-
rev: 24.4.2
30+
rev: 24.10.0
3131
hooks:
3232
- id: black-jupyter
3333

3434
- repo: https://github.com/pre-commit/mirrors-mypy
35-
rev: v1.10.0
35+
rev: v1.12.1
3636
hooks:
3737
- id: mypy
3838

batcher/harmony/cli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"""A Harmony CLI wrapper around the concatenate-batcher"""
2828
from argparse import ArgumentParser
2929

30-
import harmony
30+
import harmony_service_lib
3131

3232
from batcher.harmony.service_adapter import ConcatBatching as HarmonyAdapter
3333

3434

35-
def main(config: harmony.util.Config = None) -> None:
35+
def main(config: harmony_service_lib.util.Config = None) -> None:
3636
"""Parse command line arguments and invoke the service to respond to them.
3737
3838
Parameters
@@ -47,10 +47,10 @@ def main(config: harmony.util.Config = None) -> None:
4747
parser = ArgumentParser(
4848
prog="Pre-concatenate-batching", description="Run the pre-concatenate-batching service"
4949
)
50-
harmony.setup_cli(parser)
50+
harmony_service_lib.setup_cli(parser)
5151
args = parser.parse_args()
52-
if harmony.is_harmony_cli(args):
53-
harmony.run_cli(parser, args, HarmonyAdapter, cfg=config)
52+
if harmony_service_lib.is_harmony_cli(args):
53+
harmony_service_lib.run_cli(parser, args, HarmonyAdapter, cfg=config)
5454
else:
5555
parser.error("Only --harmony CLIs are supported")
5656

batcher/harmony/service_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
from uuid import uuid4
2828

2929
import pystac
30-
from harmony.adapter import BaseHarmonyAdapter
31-
from harmony.util import bbox_to_geometry
30+
from harmony_service_lib.adapter import BaseHarmonyAdapter
31+
from harmony_service_lib.util import bbox_to_geometry
3232
from pystac import Item
3333
from pystac.item import Asset
3434

0 commit comments

Comments
 (0)