mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 05:54:17 +00:00
parent
6df26ffd57
commit
4e58068657
15 changed files with 391 additions and 133 deletions
10
tests/fixtures/config_files/README.rst
vendored
10
tests/fixtures/config_files/README.rst
vendored
|
|
@ -1,11 +1,11 @@
|
|||
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
|
||||
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
|
||||
New fixtures are preferred over updating existing features unless existing
|
||||
tests will fail.
|
||||
|
||||
Files that should not be created
|
||||
|
|
@ -26,6 +26,10 @@ Purposes of existing fixtures
|
|||
This should be used when providing config files that would have been found
|
||||
by looking for config files in the current working project directory.
|
||||
|
||||
``tests/fixtures/config_files/local-plugin.ini``
|
||||
|
||||
This is for testing configuring a plugin via flake8 config file instead of
|
||||
setuptools entry-point.
|
||||
|
||||
``tests/fixtures/config_files/no-flake8-section.ini``
|
||||
|
||||
|
|
|
|||
5
tests/fixtures/config_files/local-plugin.ini
vendored
Normal file
5
tests/fixtures/config_files/local-plugin.ini
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[flake8:local-plugins]
|
||||
extension =
|
||||
XE = test_plugins:ExtensionTestPlugin
|
||||
report =
|
||||
XR = test_plugins:ReportTestPlugin
|
||||
Loading…
Add table
Add a link
Reference in a new issue