flake8/tests/fixtures/config_files
2021-11-14 08:54:57 -08:00
..
broken.ini Add broken config file to test error handling 2016-06-16 16:19:09 -05:00
cli-specified-with-inline-comments.ini Add example configuration sections to the docs 2016-05-28 12:00:47 -05:00
cli-specified-without-inline-comments.ini Add example configuration sections to the docs 2016-05-28 12:00:47 -05:00
cli-specified.ini options: Remove parsing --verbose from the configuration file 2019-10-12 14:25:50 +01:00
config-with-hyphenated-options.ini Parse hyphenated config names also 2016-06-28 05:47:14 -05:00
local-plugin-path.ini Add paths option in local-plugins config file. 2017-10-24 19:58:18 -07:00
local-plugin.ini Add support for local (in-repo, non-setuptools) plugins. 2017-08-03 00:25:37 -07:00
no-flake8-section.ini Add fixture file without a flake8 section 2016-01-10 21:05:51 -06:00
README.rst remove some unused test fixture files 2021-11-14 08:54:57 -08:00

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/cli-specified.ini``

    This should only be used when providing config file(s) specified by the
    user on the command-line.

``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``

    This should be used when parsing an ini file without a ``[flake8]``
    section.