From 2ae65d5180f8ac99de4b166ec6640d980d7b4ca1 Mon Sep 17 00:00:00 2001 From: Sylvain Th?nault Date: Fri, 11 Apr 2014 12:15:20 +0200 Subject: Additionaly search for rc file in ~/.config/pylintrc. Closes #121 --- doc/run.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/run.rst b/doc/run.rst index 1fb95cd..4e752b0 100644 --- a/doc/run.rst +++ b/doc/run.rst @@ -99,9 +99,12 @@ configuration file in the following order and uses the first one it finds: basis. Of course, a directory is judged to be a Python module if it \ contains an ``__init__.py`` file. #. The file named by environment variable ``PYLINTRC`` -#. ``.pylintrc`` in your home directory, unless you have no home directory or \ - your home directory is ``/root`` -#. ``.pylintrc`` in the current working directory +#. if you have a home directory which isn't ``/root``: + + #. ``.pylintrc`` in your home directory + #. ``.config/pylintrc`` in your home directory + + else, ``.pylintrc`` in the current working directory #. ``/etc/pylintrc`` The ``--generate-rcfile`` option will generate a commented configuration file -- cgit v1.2.1