Skip to content

Commit bc43d49

Browse files
committed
Merge branch 'issue-315'
2 parents 725e0f2 + 6b9004b commit bc43d49

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/intro.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,17 @@ Configuration
185185

186186
The behaviour may be configured at two levels.
187187

188-
The user settings are read from the ``~/.config/pep8`` file and
189-
for Windows from the ``~\.pep8`` file.
188+
The user settings are read from the following locations:
189+
190+
If on Windows:
191+
``~\.pep8``
192+
193+
Otherwise, if the :envvar:`XDG_CONFIG_HOME` environment variable is defined:
194+
``XDG_CONFIG_HOME/pep8``
195+
196+
Else if :envvar:`XDG_CONFIG_HOME` is not defined:
197+
``~/.config/pep8``
198+
190199
Example::
191200

192201
[pep8]

0 commit comments

Comments
 (0)