File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3030 "xml.parsers.expat" : ["errors" , "model" ],
3131}
3232
33- AUTO_IMPORT_BLACKLIST = {
33+ AUTO_IMPORT_DENYLIST = {
3434 # Standard library modules/submodules that have import side effects
3535 # and must not be automatically imported to complete attributes
3636 re .compile (r"antigravity" ), # Calls webbrowser.open
@@ -263,7 +263,7 @@ def global_cache(self) -> list[pkgutil.ModuleInfo]:
263263 return self ._global_cache
264264
265265 def _maybe_import_module (self , fqname : str ) -> ModuleType | None :
266- if any (pattern .fullmatch (fqname ) for pattern in AUTO_IMPORT_BLACKLIST ):
266+ if any (pattern .fullmatch (fqname ) for pattern in AUTO_IMPORT_DENYLIST ):
267267 # Special-cased modules with known import side-effects
268268 return None
269269 root = fqname .split ("." )[0 ]
You can’t perform that action at this time.
0 commit comments