Skip to content

Commit bb93e0b

Browse files
[doc] Use internal link instead of url for run command line
1 parent 5fb078a commit bb93e0b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/user_guide/ide_integration/visual-studio-code.rst

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Integrate Pylint with Visual Studio Code
44
Command-line arguments and configuration files
55
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66

7-
See `Pylint command line arguments`_ for general switches. Command line
8-
arguments can be used to load Pylint plugins, such as that for Django:
7+
See :ref:`Pylint command line arguments <run_command_line>` for general switches.
8+
Command line arguments can be used to load Pylint plugins, such as that for Django:
99

1010
::
1111

1212
"python.linting.pylintArgs": ["--load-plugins", "pylint_django"]
1313

1414
Options can also be specified in a ``pylintrc`` or ``.pylintrc`` file in
15-
the workspace folder, as described on `Pylint command line arguments`_.
15+
the workspace folder, as described on :ref:`Pylint command line arguments <run_command_line>`/
1616

1717
To control which Pylint messages are shown, add the following contents
1818
to an options file:
@@ -53,5 +53,3 @@ setting to change the mapping.
5353
+----------------------+-----------------------------------+------------------+
5454
| fatal | pylintCategorySeverity.fatal | Error |
5555
+----------------------+-----------------------------------+------------------+
56-
57-
.. _Pylint command line arguments: https://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options

doc/user_guide/run.rst

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ between runs, you will need to clear pylint's inference cache:
126126
Command line options
127127
--------------------
128128

129+
.. _run_command_line:
130+
129131
First of all, we have two basic (but useful) options.
130132

131133
--version show program's version number and exit

0 commit comments

Comments
 (0)