rework plugin loading

This commit is contained in:
Anthony Sottile 2021-12-31 13:11:00 -08:00
parent 38c5eceda9
commit 50d69150c1
36 changed files with 1277 additions and 1505 deletions

View file

@ -1,22 +0,0 @@
About this directory
====================
The files in this directory are test fixtures for unit and integration tests.
Their purpose is described below. Please note the list of file names that can
not be created as they are already used by tests.
New fixtures are preferred over updating existing features unless existing
tests will fail.
Files that should not be created
--------------------------------
- ``tests/fixtures/config_files/missing.ini``
Purposes of existing fixtures
-----------------------------
``tests/fixtures/config_files/local-plugin.ini``
This is for testing configuring a plugin via flake8 config file instead of
setuptools entry-point.

View file

@ -1,5 +0,0 @@
[flake8:local-plugins]
extension =
XE = aplugin:ExtensionTestPlugin2
paths =
../../integration/subdir/

View file

@ -1,5 +0,0 @@
[flake8:local-plugins]
extension =
XE = tests.integration.test_plugins:ExtensionTestPlugin
report =
XR = tests.integration.test_plugins:ReportTestPlugin