mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-20 04:37:57 +03:00
Disable third-party library analysis for now.
This commit is contained in:
parent
c38a59cf09
commit
6b4bc5e8bf
@ -35,7 +35,10 @@ import { createTypeEvaluator, TypeEvaluator } from './typeEvaluator';
|
||||
import { TypeStubWriter } from './typeStubWriter';
|
||||
|
||||
const _maxImportDepth = 256;
|
||||
const _allowAllThirdPartyImports = true;
|
||||
|
||||
// We may enable this through a switch in future versions. For now,
|
||||
// disable analysis of third-party library implementations.
|
||||
const _allowAllThirdPartyImports = false;
|
||||
|
||||
export interface SourceFileInfo {
|
||||
sourceFile: SourceFile;
|
||||
|
Loading…
Reference in New Issue
Block a user