diff --git a/.pylintrc b/.pylintrc index d4d4f6ec20..11e2ababa9 100644 --- a/.pylintrc +++ b/.pylintrc @@ -42,7 +42,7 @@ unsafe-load-any-extension=no # A comma-separated list of package or module names from where C extensions may # be loaded. Extensions are loading into the active Python interpreter and may # run arbitrary code -extension-pkg-whitelist=numpy +extension-pkg-allow-list=numpy,math,_struct,_hashlib # Allow optimization of some AST trees. This will activate a peephole AST # optimizer, which will apply various small optimizations. For instance, it can