diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-16 14:15:19 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-16 16:57:17 +0200 |
commit | f66cb54211d0880decc30f8fdcf18a571d765aef (patch) | |
tree | 0f851bfb8ad5ab33851de004fae3dec945c9cca3 /doc/user_guide | |
parent | 30f04779e3c749d7237f462296b9627852a91aaa (diff) | |
download | pylint-git-f66cb54211d0880decc30f8fdcf18a571d765aef.tar.gz |
[doc] Remove our own visual studio code duplicated from the official doc
Diffstat (limited to 'doc/user_guide')
-rw-r--r-- | doc/user_guide/ide_integration/ide-integration.rst | 1 | ||||
-rw-r--r-- | doc/user_guide/ide_integration/visual-studio-code.rst | 62 | ||||
-rw-r--r-- | doc/user_guide/installation.rst | 5 |
3 files changed, 4 insertions, 64 deletions
diff --git a/doc/user_guide/ide_integration/ide-integration.rst b/doc/user_guide/ide_integration/ide-integration.rst index a27b8a466..59198e61e 100644 --- a/doc/user_guide/ide_integration/ide-integration.rst +++ b/doc/user_guide/ide_integration/ide-integration.rst @@ -10,4 +10,3 @@ Pylint can be integrated in various editors and IDE's. Below you can find tutori flymake-emacs.rst pylint-pycharm.rst textmate.rst - visual-studio-code.rst diff --git a/doc/user_guide/ide_integration/visual-studio-code.rst b/doc/user_guide/ide_integration/visual-studio-code.rst deleted file mode 100644 index a7ea7bf7d..000000000 --- a/doc/user_guide/ide_integration/visual-studio-code.rst +++ /dev/null @@ -1,62 +0,0 @@ -.. _visual-studio-code: - -Integrate Pylint with Visual Studio Code -======================================== - -See external documentation: - -- Linting python: https://code.visualstudio.com/docs/python/linting -- Pylint Extension: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint - -Command-line arguments and configuration files -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -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 :ref:`Pylint command line arguments <run_command_line>`/ - -To control which Pylint messages are shown, add the following contents -to an options file: - -.. code:: ini - - [MESSAGES CONTROL] - - # Enable the message, report, category or checker with the given id(s). You can - # either give multiple identifier separated by comma (,) or put this option - # multiple time. - #enable= - - # Disable the message, report, category or checker with the given id(s). You - # can either give multiple identifier separated by comma (,) or put this option - # multiple time (only on the command line, not in the configuration file where - # it should appear only once). - #disable= - -Message category mapping -~~~~~~~~~~~~~~~~~~~~~~~~ - -The Python extension maps Pylint message categories to VS Code -categories through the following settings. If desired, change the -setting to change the mapping. - -+----------------------+-----------------------------------+------------------+ -| Pylint category | Applicable setting | VS Code category | -| | (python.linting.) | mapping | -+======================+===================================+==================+ -| convention | pylintCategorySeverity.convention | Information | -+----------------------+-----------------------------------+------------------+ -| refactor | pylintCategorySeverity.refactor | Hint | -+----------------------+-----------------------------------+------------------+ -| warning | pylintCategorySeverity.warning | Warning | -+----------------------+-----------------------------------+------------------+ -| error | pylintCategorySeverity.error | Error | -+----------------------+-----------------------------------+------------------+ -| fatal | pylintCategorySeverity.fatal | Error | -+----------------------+-----------------------------------+------------------+ diff --git a/doc/user_guide/installation.rst b/doc/user_guide/installation.rst index 5997ff8e1..cd4884a5b 100644 --- a/doc/user_guide/installation.rst +++ b/doc/user_guide/installation.rst @@ -56,7 +56,8 @@ Editor integration - Spyder_ in the `View -> Panes -> Static code analysis` - :ref:`TextMate <pylint_in_textmate>` - Vim_ -- :ref:`Visual Studio Code <visual-studio-code>` in the `Preferences -> Settings` menu +- `Visual Studio Code`_ in the `Preferences -> Settings` menu +- `Visual Studio Code Pylint Extension`_ - `Visual Studio`_ in the `Python > Run PyLint` command on a project's context menu. - WingIDE_ @@ -72,4 +73,6 @@ Editor integration .. _spyder: https://docs.spyder-ide.org/current/panes/pylint.html .. _Vim: https://www.vim.org/scripts/script.php?script_id=891 .. _Visual Studio: https://docs.microsoft.com/visualstudio/python/code-pylint +.. _Visual Studio Code: https://code.visualstudio.com/docs/python/linting#_pylint +.. _Visual Studio Code Pylint Extension: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint .. _WingIDE: https://wingware.com/doc/warnings/external-checkers |