Skip to content

Commit 29491e3

Browse files
committed
Clarify syntax in pylint.lint example
This makes the call non-trivial and demonstrates the syntax more fully.
1 parent 96e8459 commit 29491e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/user_guide/run.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ thanks to the ``Run()`` function in the ``pylint.lint`` module
4242
.. sourcecode:: python
4343

4444
import pylint.lint
45-
pylint_opts = ['--version']
45+
pylint_opts = ['--disable=line-too-long', 'myfile.py']
4646
pylint.lint.Run(pylint_opts)
4747

4848
To silently run Pylint on a ``module_name.py`` module,

0 commit comments

Comments
 (0)