mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-09 22:34:17 +00:00
rework plugin loading
This commit is contained in:
parent
38c5eceda9
commit
50d69150c1
36 changed files with 1277 additions and 1505 deletions
22
tests/fixtures/config_files/README.rst
vendored
22
tests/fixtures/config_files/README.rst
vendored
|
|
@ -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.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[flake8:local-plugins]
|
||||
extension =
|
||||
XE = aplugin:ExtensionTestPlugin2
|
||||
paths =
|
||||
../../integration/subdir/
|
||||
5
tests/fixtures/config_files/local-plugin.ini
vendored
5
tests/fixtures/config_files/local-plugin.ini
vendored
|
|
@ -1,5 +0,0 @@
|
|||
[flake8:local-plugins]
|
||||
extension =
|
||||
XE = tests.integration.test_plugins:ExtensionTestPlugin
|
||||
report =
|
||||
XR = tests.integration.test_plugins:ReportTestPlugin
|
||||
Loading…
Add table
Add a link
Reference in a new issue