Skip to content

Commit 3b01711

Browse files
committed
Update to prevent "no name in module" errors
1 parent c44c84e commit 3b01711

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

etc/pylint/.pylintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# A comma-separated list of package or module names from where C extensions may
44
# be loaded. Extensions are loading into the active Python interpreter and may
55
# run arbitrary code
6-
extension-pkg-whitelist=
6+
extension-pkg-whitelist=numpy,scipy
77

88
# Add files or directories to the blacklist. They should be base names, not
99
# paths.
@@ -286,13 +286,13 @@ ignore-on-opaque-inference=yes
286286
# List of class names for which member attributes should not be checked (useful
287287
# for classes with dynamically set attributes). This supports the use of
288288
# qualified names.
289-
ignored-classes=optparse.Values,thread._local,_thread._local
289+
ignored-classes=optparse.Values,thread._local,_thread._local,numpy,scipy
290290

291291
# List of module names for which member attributes should not be checked
292292
# (useful for modules/projects where namespaces are manipulated during runtime
293293
# and thus existing member attributes cannot be deduced by static analysis. It
294294
# supports qualified module names, as well as Unix pattern matching.
295-
ignored-modules=
295+
ignored-modules=numpy,scipy
296296

297297
# Show a hint with possible names when a member name was not found. The aspect
298298
# of finding the hint is based on edit distance.

0 commit comments

Comments
 (0)