diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-11-19 22:47:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-19 22:47:24 +0100 |
commit | b2462c91917bdf06db8708fb2999843f809909ff (patch) | |
tree | ad16ffe1588aeb09fb5f2c9cc33a0d9f607f8b3c /pylint/__init__.py | |
parent | 88119920a1fb349bc3deaaadbc91e4be1c551e83 (diff) | |
download | pylint-git-b2462c91917bdf06db8708fb2999843f809909ff.tar.gz |
Deprecation following the separation of emacs related file to https://github.com/emacsorphanage/pylint (#7783)
Co-authored-by: Jonas Bernoulli <jonas@bernoul.li>
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'pylint/__init__.py')
-rw-r--r-- | pylint/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pylint/__init__.py b/pylint/__init__.py index ab5fd42ab..2cc7edadb 100644 --- a/pylint/__init__.py +++ b/pylint/__init__.py @@ -16,6 +16,7 @@ __all__ = [ import os import sys +import warnings from collections.abc import Sequence from typing import NoReturn @@ -54,6 +55,12 @@ def run_epylint(argv: Sequence[str] | None = None) -> NoReturn: """ from pylint.epylint import Run as EpylintRun + warnings.warn( + "'run_epylint' will be removed in pylint 3.0, use " + "https://github.com/emacsorphanage/pylint instead.", + DeprecationWarning, + stacklevel=1, + ) EpylintRun(argv) |