Skip to content

Commit a40f64a

Browse files
fix: Update the list of extension packages pylint is allowed to load (#3873)
1 parent 3b75d1d commit a40f64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ unsafe-load-any-extension=no
4242
# A comma-separated list of package or module names from where C extensions may
4343
# be loaded. Extensions are loading into the active Python interpreter and may
4444
# run arbitrary code
45-
extension-pkg-whitelist=numpy
45+
extension-pkg-allow-list=numpy,math,_struct,_hashlib
4646

4747
# Allow optimization of some AST trees. This will activate a peephole AST
4848
# optimizer, which will apply various small optimizations. For instance, it can

0 commit comments

Comments
 (0)