diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2014-04-11 12:15:20 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2014-04-11 12:15:20 +0200 |
commit | 2ae65d5180f8ac99de4b166ec6640d980d7b4ca1 (patch) | |
tree | 33ee54b9f1aacc6f54f29e18d68fd923968eb7af /doc | |
parent | 3e4ce35501bfac4c679bb77def3065a83f53b6c6 (diff) | |
download | pylint-2ae65d5180f8ac99de4b166ec6640d980d7b4ca1.tar.gz |
Additionaly search for rc file in ~/.config/pylintrc. Closes #121
Diffstat (limited to 'doc')
-rw-r--r-- | doc/run.rst | 9 |
1 files changed, 6 insertions, 3 deletions
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 |