Skip to content

Commit aebc63d

Browse files
committed
Use entrypoint resolve to not check all the dependencies in the environment.
Fix click-contrib#31
1 parent 1f9f53e commit aebc63d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

click_plugins/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def decorator(group):
3434

3535
for entry_point in plugins or ():
3636
try:
37-
group.add_command(entry_point.load())
37+
group.add_command(entry_point.resolve())
3838
except Exception:
3939
# Catch this so a busted plugin doesn't take down the CLI.
4040
# Handled by registering a dummy command that does nothing

0 commit comments

Comments
 (0)