Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhillier committed Feb 6, 2025
1 parent ab9a276 commit 7524bc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion planet/cli/cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from planet.cli.options import pretty


def command(group: click.Group, name: Optional[str]=None):
def command(group: click.Group, name: Optional[str] = None):
"""a decorator that adds common utilities/options to a click command
usage:
Expand Down
5 changes: 2 additions & 3 deletions planet/cli/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ async def collection_get(ctx, collection_id, pretty):

@features.group()
def items():
"""commands for interacting with Features API items (features
"""commands for interacting with Features API items (features
within a collection)"""
pass


@command(items, name="list")
@click.argument("collection_id", required=True)
async def items_list(ctx, collection_id, pretty):
Expand Down Expand Up @@ -170,5 +171,3 @@ async def item_add(ctx, collection_id, filename, pretty):
)

echo_json(res, pretty)


3 changes: 2 additions & 1 deletion tests/integration/test_features_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def assertf(resp):
assert resp == "collection1"

assertf(
invoke("collections", "create",
invoke("collections",
"create",
"--title",
TEST_COLLECTION_1["title"],
"--description",
Expand Down

0 comments on commit 7524bc2

Please sign in to comment.