Skip to content

Commit 9e2f9b3

Browse files
authored
Clarify syntax in pylint.lint example (#5260)
* Clarify syntax in pylint.lint example This makes the call non-trivial and demonstrates the syntax more fully.
1 parent 1a20bc5 commit 9e2f9b3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CONTRIBUTORS.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Contributors
1+
Contributors
22
------------
33

44
Current team:
@@ -580,3 +580,5 @@ contributors:
580580
* Antonio Quarta (sgheppy): contributor
581581

582582
* Harshil (harshil21): contributor
583+
584+
* Felix von Drigalski (felixvd): contributor

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)