Skip to content
Permalink
Browse files

Python 3: Enable bad-functions in pylint in order to detect deprecate…

…d functions

Change-Id: I6515b32266210d2e69a473fbb24c65462980af8e
  • Loading branch information...
si-23 committed Aug 2, 2019
1 parent 5e71f86 commit 113c984ec05ac88e885878bfd3a2d0491ef08121
Showing with 2 additions and 1 deletion.
  1. +2 −1 .pylintrc
@@ -17,11 +17,12 @@ init-hook=
tests_dir = tests_dir3 if sys.version.split('.')[0] == '3' else tests_dir2
sys.path.insert(0, os.environ.get("TEST_PATH", tests_dir))
import conftest
load-plugins=testlib.pylint_cmk,testlib.pylint_checker_localization
load-plugins=testlib.pylint_cmk,testlib.pylint_checker_localization,pylint.extensions.bad_builtin
jobs=0
# TODO: Why do we need persistence?
persistent=yes
extension-pkg-whitelist=rrdtool,_ldap,netifaces,pymssql
bad-functions=callable

[MESSAGES CONTROL]
disable=

0 comments on commit 113c984

Please sign in to comment.
You can’t perform that action at this time.