Skip to content

Commit 9876559

Browse files
chore: update list of extension packages pylint is allowed to load
1 parent e2624af commit 9876559

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)