diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-16 12:48:34 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-16 16:57:17 +0200 |
commit | c106b5430aac6c36b77f9556bcea3ad670a27fe2 (patch) | |
tree | 4020c4b946db69707783bc46b847e7b9b281594b | |
parent | ff725e7713005e51ab7fa5f260899bccce9a1a53 (diff) | |
download | pylint-git-c106b5430aac6c36b77f9556bcea3ad670a27fe2.tar.gz |
[doc] Use internal link instead of url for run command line
-rw-r--r-- | doc/user_guide/ide_integration/visual-studio-code.rst | 8 | ||||
-rw-r--r-- | doc/user_guide/run.rst | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/user_guide/ide_integration/visual-studio-code.rst b/doc/user_guide/ide_integration/visual-studio-code.rst index 109ecc214..98baad4ce 100644 --- a/doc/user_guide/ide_integration/visual-studio-code.rst +++ b/doc/user_guide/ide_integration/visual-studio-code.rst @@ -4,15 +4,15 @@ Integrate Pylint with Visual Studio Code Command-line arguments and configuration files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -See `Pylint command line arguments`_ for general switches. Command line -arguments can be used to load Pylint plugins, such as that for Django: +See :ref:`Pylint command line arguments <run_command_line>` for general switches. +Command line arguments can be used to load Pylint plugins, such as that for Django: :: "python.linting.pylintArgs": ["--load-plugins", "pylint_django"] Options can also be specified in a ``pylintrc`` or ``.pylintrc`` file in -the workspace folder, as described on `Pylint command line arguments`_. +the workspace folder, as described on :ref:`Pylint command line arguments <run_command_line>`/ To control which Pylint messages are shown, add the following contents to an options file: @@ -53,5 +53,3 @@ setting to change the mapping. +----------------------+-----------------------------------+------------------+ | fatal | pylintCategorySeverity.fatal | Error | +----------------------+-----------------------------------+------------------+ - -.. _Pylint command line arguments: https://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options diff --git a/doc/user_guide/run.rst b/doc/user_guide/run.rst index f9b8b8537..b9bbbf5ff 100644 --- a/doc/user_guide/run.rst +++ b/doc/user_guide/run.rst @@ -126,6 +126,8 @@ between runs, you will need to clear pylint's inference cache: Command line options -------------------- +.. _run_command_line: + First of all, we have two basic (but useful) options. --version show program's version number and exit |