Skip to content

Commit 7db7bef

Browse files
authored
Clarify syntax in pylint.lint example
This makes the call non-trivial, so idiots don't me get stuck.
1 parent 96e8459 commit 7db7bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/user_guide/run.rst

+1-1
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)