diff options
-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 |