mirror of
1
0
Fork 0
dotbot/dotbot
Kurt McKee b5499c7dc5 Separate module importing from plugin identification
This change allows the test framework to reliably specify
which plugins to load and use within the same process.

Previously, plugins were loaded by importing files and then
accessing the Plugin class' list of subclasses.
Now, it's possible to run dotbot multiple times without
plugins accruing across runs with different configurations
and CLI arguments.

In addition, this fixes some circular imports that were
previously avoided because plugins were imported in a function.
2022-05-13 10:44:29 -05:00
..
messenger Migrate code style to Black 2022-01-30 18:53:05 -05:00
plugins Separate module importing from plugin identification 2022-05-13 10:44:29 -05:00
util Separate module importing from plugin identification 2022-05-13 10:44:29 -05:00
__init__.py Migrate code style to Black 2022-01-30 18:53:05 -05:00
__main__.py Added support to run with python -m 2020-07-23 08:44:06 -07:00
cli.py Separate module importing from plugin identification 2022-05-13 10:44:29 -05:00
config.py Migrate code style to Black 2022-01-30 18:53:05 -05:00
context.py Migrate code style to Black 2022-01-30 18:53:05 -05:00
dispatcher.py Separate module importing from plugin identification 2022-05-13 10:44:29 -05:00
plugin.py Migrate code style to Black 2022-01-30 18:53:05 -05:00