Update configuration.rst

Clarify information about how the search for configuration files is done, particularly, state that only the first found file is read for configuration.
This commit is contained in:
Dmitry Kabanov, PhD 2023-05-09 22:08:52 +02:00 committed by GitHub
parent a40cee5c2f
commit cc58e24fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,8 @@ Configuration Locations
=======================
|Flake8| supports storing its configuration in your project in one of
``setup.cfg``, ``tox.ini``, or ``.flake8``.
``setup.cfg``, ``tox.ini``, or ``.flake8`` (in that order).
If, say, ``setup.cfg`` is found, the rest of the files are not read.
Values set at the command line have highest priority, then those in the
project configuration file, and finally there are the defaults. However,