summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix von Drigalski <FvDrigalski@gmail.com>2021-11-13 21:10:29 +0900
committerGitHub <noreply@github.com>2021-11-13 13:10:29 +0100
commit9e2f9b378890e23e39bc2afb0aa0ec1e7d40c6a3 (patch)
tree301a1c425c19e823caa9e29cd979716ce579a81f
parent1a20bc5c50a7c73abaad8b364f78055d4e60146d (diff)
downloadpylint-git-9e2f9b378890e23e39bc2afb0aa0ec1e7d40c6a3.tar.gz
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.
-rw-r--r--CONTRIBUTORS.txt4
-rw-r--r--doc/user_guide/run.rst2
2 files changed, 4 insertions, 2 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 5938788f3..4b51cb2ff 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -1,4 +1,4 @@
-Contributors
+Contributors
------------
Current team:
@@ -580,3 +580,5 @@ contributors:
* Antonio Quarta (sgheppy): contributor
* Harshil (harshil21): contributor
+
+* Felix von Drigalski (felixvd): contributor
diff --git a/doc/user_guide/run.rst b/doc/user_guide/run.rst
index 0e5cce4be..a4a13d580 100644
--- a/doc/user_guide/run.rst
+++ b/doc/user_guide/run.rst
@@ -42,7 +42,7 @@ thanks to the ``Run()`` function in the ``pylint.lint`` module
.. sourcecode:: python
import pylint.lint
- pylint_opts = ['--version']
+ pylint_opts = ['--disable=line-too-long', 'myfile.py']
pylint.lint.Run(pylint_opts)
To silently run Pylint on a ``module_name.py`` module,