Updating the configuration documentation

Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
Jason Myers 2016-03-28 10:46:26 -05:00
parent 40f1a1e337
commit 4348b61b08

View file

@ -1,12 +1,20 @@
Configuration
=============
The behaviour may be configured at two levels.
Configuration settings are applied in three ways: user, project, and the
``--config`` CLI argument. The user (global) configuration is read first. Next
the project configuration is loaded, and overrides any settings found in both
the user (global) and project configurations. Finally, if the ``--config``
argument is used on the command line, the specified file is loaded and
overrides any settings that overlap with the user (global) and project
configurations.
Global
------
The user settings are read from the ``~/.config/flake8`` file (or the ``~/.flake8`` file on Windows).
User (Global)
-------------
The user settings are read from the ``~/.config/flake8`` file (or the
``~/.flake8`` file on Windows).
Example::
[flake8]