diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-08 15:03:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 15:03:12 +0100 |
commit | 491c53985cae113daa11c20d80c124a8df243840 (patch) | |
tree | b61799d776f9305d1319566613bd131d9b22614f /doc/development_guide | |
parent | 395042b4700ee8e23025bb7401221a5c0d32e5a7 (diff) | |
download | pylint-git-491c53985cae113daa11c20d80c124a8df243840.tar.gz |
[deprecation] epylint removal for pylint 3.0.0 (#8400)
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'doc/development_guide')
-rw-r--r-- | doc/development_guide/api/epylint.rst | 22 | ||||
-rw-r--r-- | doc/development_guide/api/index.rst | 3 |
2 files changed, 1 insertions, 24 deletions
diff --git a/doc/development_guide/api/epylint.rst b/doc/development_guide/api/epylint.rst deleted file mode 100644 index 8359587ed..000000000 --- a/doc/development_guide/api/epylint.rst +++ /dev/null @@ -1,22 +0,0 @@ -======= -epylint -======= - -To silently run epylint on a ``module_name.py`` module, and get its standard output and error: - -.. sourcecode:: python - - from pylint import epylint as lint - - (pylint_stdout, pylint_stderr) = lint.py_run('module_name.py', return_std=True) - -It is also possible to include additional Pylint options in the first argument to ``py_run``: - -.. sourcecode:: python - - from pylint import epylint as lint - - (pylint_stdout, pylint_stderr) = lint.py_run('module_name.py --disable C0114', return_std=True) - -The options ``--msg-template="{path}:{line}: {category} ({msg_id}, {symbol}, {obj}) {msg}"`` and -``--reports=n`` are set implicitly inside the ``epylint`` module. diff --git a/doc/development_guide/api/index.rst b/doc/development_guide/api/index.rst index 00e6e1a9f..ac4e96900 100644 --- a/doc/development_guide/api/index.rst +++ b/doc/development_guide/api/index.rst @@ -2,7 +2,7 @@ API ### -You can call ``Pylint``, ``epylint``, ``symilar`` and ``pyreverse`` from another +You can call ``Pylint``, ``symilar`` and ``pyreverse`` from another Python program thanks to their APIs: .. sourcecode:: python @@ -19,4 +19,3 @@ Python program thanks to their APIs: :hidden: pylint - epylint |