We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 725e0f2 + 6b9004b commit bc43d49Copy full SHA for bc43d49
docs/intro.rst
@@ -185,8 +185,17 @@ Configuration
185
186
The behaviour may be configured at two levels.
187
188
-The user settings are read from the ``~/.config/pep8`` file and
189
-for Windows from the ``~\.pep8`` file.
+The user settings are read from the following locations:
+
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
199
Example::
200
201
[pep8]
0 commit comments