Skip to content

Commit

Permalink
chore: my cry
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Apr 18, 2024
1 parent 59e21cf commit 175b031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ape/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from gettext import gettext
from importlib.metadata import entry_points
from typing import Any, Optional
from typing import Any, Iterable, Optional

import click
import yaml
Expand Down Expand Up @@ -118,7 +118,7 @@ def commands(self) -> dict:
if self._commands:
return self._commands

eps = entry_points().get(self._CLI_GROUP_NAME)
eps: Iterable = entry_points().get(self._CLI_GROUP_NAME, [])
self._commands = {clean_plugin_name(cmd.name): cmd.load for cmd in eps}
return self._commands

Expand Down

0 comments on commit 175b031

Please sign in to comment.