From 36acdd5f5850a8332b5fea156d028c0bec661f66 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Mon, 15 Apr 2024 10:39:23 -0500 Subject: [PATCH] fix: inc local mods --- src/ape/plugins/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ape/plugins/__init__.py b/src/ape/plugins/__init__.py index 662dd984ee..b6740fafdd 100644 --- a/src/ape/plugins/__init__.py +++ b/src/ape/plugins/__init__.py @@ -166,9 +166,9 @@ def registered_plugins(self) -> Set[str]: @functools.cached_property def _plugin_modules(self) -> Tuple[str, ...]: - return tuple( - [x.name.replace("-", "_") for x in distributions() if x.name.startswith("ape-")] - ) + plugins = [x.name.replace("-", "_") for x in distributions() if x.name.startswith("ape-")] + locals = [p for p in __modules__ if p != "ape"] + return tuple([*plugins, *locals]) def _register_plugins(self): if self.__registered: