diff options
author | Federico Bond <federicobond@gmail.com> | 2020-08-18 14:26:17 -0300 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-27 08:40:34 +0100 |
commit | 9d4f2c082e4f17fb5165deb0c9e4a0fd329d5cbd (patch) | |
tree | cf263b3bb822bc3208889b3ad4d513a303e8d469 | |
parent | 2eb312dd09303ef389b0fa7d78452a48ece7dd5d (diff) | |
download | pylint-git-9d4f2c082e4f17fb5165deb0c9e4a0fd329d5cbd.tar.gz |
Add checks for deprecated functions since 3.6
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | pylint/checkers/stdlib.py | 29 |
2 files changed, 31 insertions, 0 deletions
@@ -14,6 +14,8 @@ Pylint's ChangeLog Close #3834 +* Add missing checks for deprecated functions. + What's New in Pylint 2.6.1? =========================== diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index e0ee4f143..a0d13524c 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -215,6 +215,7 @@ class StdlibChecker(BaseChecker): "base64.encodestring", "base64.decodestring", "ntpath.splitunc", + "os.path.splitunc", }, (3, 2, 0): { "cgi.escape", @@ -244,10 +245,38 @@ class StdlibChecker(BaseChecker): "fractions.gcd", "inspect.formatargspec", "inspect.getcallargs", + "inspect.getfullargspec", "platform.linux_distribution", "platform.dist", }, (3, 6, 0): {"importlib._bootstrap_external.FileLoader.load_module"}, + (3, 7, 0): { + "sys.set_coroutine_wrapper", + "sys.get_coroutine_wrapper", + "aifc.openfp", + "asyncio.Task.current_task", + "asyncio.Task.all_task", + "locale.format", + "ssl.wrap_socket", + "sunau.openfp", + "wave.openfp", + }, + (3, 8, 0): { + "gettext.lgettext", + "gettext.ldgettext", + "gettext.lngettext", + "gettext.ldngettext", + "gettext.bind_textdomain_codeset", + "gettext.NullTranslations.output_charset", + "gettext.NullTranslations.set_output_charset", + "threading.Thread.isAlive", + }, + (3, 9, 0): { + "binascii.b2a_hqx", + "binascii.a2b_hqx", + "binascii.rlecode_hqx", + "binascii.rledecode_hqx", + }, }, } |