pull-pylance-with-pyright-1.1.391-20241218-032433 (#9598)

Co-authored-by: Azure Piplines <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
This commit is contained in:
Bill Schnurr 2024-12-18 09:25:18 -08:00 committed by GitHub
parent 1f5a2bcdd8
commit e643c25758
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 95 additions and 6 deletions

View file

@ -952,7 +952,8 @@ export class Program {
this._importResolver,
this._configOptions,
this.serviceProvider,
new LogTracker(this._console, 'Cloned')
new LogTracker(this._console, 'Cloned'),
this._disableChecker
);
// Cloned program will use whatever user files the program currently has.

View file

@ -1,5 +1,5 @@
/*
* shared.ts
* asyncInitialization.ts
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*

View file

@ -39,6 +39,7 @@ export interface SourceFile {
getClientVersion(): number | undefined;
getOpenFileContents(): string | undefined;
getModuleSymbolTable(): SymbolTable | undefined;
getDiagnostics(options: ConfigOptions): Diagnostic[] | undefined;
}
export interface SourceFileInfo {

View file

@ -16,6 +16,7 @@ import { Uri } from './uri/uri';
export interface Stats {
size: number;
mtimeMs: number;
ctimeMs: number;
isFile(): boolean;
isDirectory(): boolean;

View file

@ -19,7 +19,9 @@ type TomlPrimitive =
// maintain existing module resolution to support multiple environments.
let TOML: any;
const loadTomlModule = (async () => {
TOML = await import('smol-toml');
// Use a magic comment to prevent webpack from creating an extra chunk for the dynamic import by default.
// An extra chunk will still be created if explicitly configured in the webpack config.
TOML = await import(/* webpackMode: "eager" */ 'smol-toml');
})();
export async function ensureTomlModuleLoaded() {

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Základní třídy pro třídu {classType} definují proměnnou {name} nekompatibilním způsobem",
"binaryOperationNotAllowed": "Ve výrazu typu není povolený binární operátor.",
"bindTypeMismatch": "Nepovedlo se vytvořit vazbu metody „{methodName}“, protože „{type}“ nejde přiřadit k parametru „{paramName}“",
"breakInExceptionGroup": "V bloku except* není povolená možnost break.",
"breakOutsideLoop": "„break“ se dá použít jenom ve smyčce",
"bytesUnsupportedEscape": "Nepodporovaná řídicí sekvence v literálu typu bytes",
"callableExtraArgs": "Pro Callable se očekávaly pouze dva argumenty typu",
"callableFirstArg": "Očekával se seznam typů parametrů nebo ...",
"callableNotInstantiable": "Není možné vytvořit instanci typu {type}",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Neshoda mezi signaturou __new__ a __init__ ve třídě“ {classType}“",
"containmentAlwaysFalse": "Výraz se vždy vyhodnotí jako False, protože typy „{leftType}“ a „{rightType}“ se nepřekrývají",
"containmentAlwaysTrue": "Výraz se vždy vyhodnotí jako True, protože typy „{leftType}“ a „{rightType}“ se nepřekrývají.",
"continueInExceptionGroup": "V bloku except* není povolená možnost continue.",
"continueOutsideLoop": "continue se dá použít jenom ve smyčce",
"coroutineInConditionalExpression": "Podmíněný výraz odkazuje na korutinu, která se vždy vyhodnotí jako True.",
"dataClassBaseClassFrozen": "Nezablokovaná třída nemůže dědit z zmrazené třídy",
@ -156,6 +159,8 @@
"enumMemberDelete": "Člen Enum {name} se nedá odstranit.",
"enumMemberSet": "Člen Enum {name} se nedá přiřadit.",
"enumMemberTypeAnnotation": "Poznámky typu nejsou pro členy enum povolené.",
"exceptGroupMismatch": "Příkaz Try nemůže obsahovat jak except, tak i except*.",
"exceptGroupRequiresType": "Syntaxe skupiny výjimek (\"except*\") vyžaduje typ výjimky.",
"exceptionGroupIncompatible": "Syntaxe skupiny výjimek (\"except*\") vyžaduje Python 3.11 nebo novější",
"exceptionGroupTypeIncorrect": "Typ výjimky v except* se nedá odvodit z BaseGroupException.",
"exceptionTypeIncorrect": "„{type}“ se neodvozuje od BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "Za povinným argumentem (Required) se očekával jeden argument typu.",
"requiredNotInTypedDict": "Required není v tomto kontextu povoleno",
"returnInAsyncGenerator": "Příkaz Return s hodnotou není v asynchronním generátoru povolený",
"returnInExceptionGroup": "V bloku except* není povolená možnost return.",
"returnMissing": "Funkce s deklarovaným návratovým typem „{returnType}“ musí vracet hodnotu na všech cestách kódu",
"returnOutsideFunction": "„return“ se dá použít jenom v rámci funkce",
"returnTypeContravariant": "Kontravariantní proměnnou typu nejde použít v návratovém typu",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Basisklassen für die Klasse \"{classType}\" definieren die Variable \"{name}\" auf inkompatible Weise.",
"binaryOperationNotAllowed": "Der binärer Operator ist im Typausdruck nicht zulässig",
"bindTypeMismatch": "Die Methode \"{methodName}\" konnte nicht gebunden werden, da \"{type}\" dem Parameter \"{paramName}\" nicht zugewiesen werden kann.",
"breakInExceptionGroup": "„break“ ist in einem „except*“ Block nicht zulässig.",
"breakOutsideLoop": "\"break\" kann nur innerhalb einer Schleife verwendet werden.",
"bytesUnsupportedEscape": "Nicht unterstützte Escapesequenz in bytes-Literal",
"callableExtraArgs": "Es wurden nur zwei Typargumente für \"Callable\" erwartet.",
"callableFirstArg": "Parametertypliste oder \"...\" erwartet.",
"callableNotInstantiable": "Der Typ \"{type}\" kann nicht instanziiert werden.",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Keine Übereinstimmung zwischen der Signatur von __new__ und __init__ in der Klasse \"{classType}\"",
"containmentAlwaysFalse": "Der Ausdruck wird immer als False ausgewertet, da die Typen \"{leftType}\" und \"{rightType}\" keine Überlappung aufweisen.",
"containmentAlwaysTrue": "Der Ausdruck wird immer als True ausgewertet, da die Typen \"{leftType}\" und \"{rightType}\" keine Überlappung aufweisen.",
"continueInExceptionGroup": "„continue“ ist in einem „except*“ Block nicht zulässig.",
"continueOutsideLoop": "\"continue\" kann nur innerhalb einer Schleife verwendet werden.",
"coroutineInConditionalExpression": "Bedingter Ausdruck verweist auf eine Coroutine, die immer zu \"True\" ausgewertet wird.",
"dataClassBaseClassFrozen": "Eine nicht fixierte Klasse kann nicht von einer fixierten Klasse erben.",
@ -156,6 +159,8 @@
"enumMemberDelete": "Das Enumerationselement \"{name}\" kann nicht gelöscht werden.",
"enumMemberSet": "Das Enumerationselement \"{name}\" kann nicht zugewiesen werden.",
"enumMemberTypeAnnotation": "Typanmerkungen sind für enum Member nicht zulässig",
"exceptGroupMismatch": "Die „try“-Anweisung darf nicht sowohl „except“ als auch „except*“ enthalten.",
"exceptGroupRequiresType": "Die Ausnahmegruppensyntax („except*“) erfordert einen Ausnahmetyp.",
"exceptionGroupIncompatible": "Die Ausnahmegruppensyntax (\"except*\") erfordert Python 3.11 oder höher.",
"exceptionGroupTypeIncorrect": "Der Ausnahmetyp in except* kann nicht von BaseGroupException abgeleitet werden.",
"exceptionTypeIncorrect": "\"{type}\" ist nicht von BaseException abgeleitet.",
@ -425,6 +430,7 @@
"requiredArgCount": "Nach \"Required\" wurde ein einzelnes Typargument erwartet.",
"requiredNotInTypedDict": "\"Required\" ist in diesem Kontext nicht zulässig.",
"returnInAsyncGenerator": "Eine Return-Anweisung mit einem Wert ist im asynchronen Generator nicht zulässig.",
"returnInExceptionGroup": "„return“ ist in einem „except*“ Block nicht zulässig.",
"returnMissing": "Die Funktion mit dem deklarierten Rückgabetyp \"{returnType}\" muss einen Wert für alle Codepfade zurückgeben.",
"returnOutsideFunction": "\"return\" kann nur innerhalb einer Funktion verwendet werden.",
"returnTypeContravariant": "Die Variable vom Typ \"contravariant\" kann nicht im Rückgabetyp verwendet werden.",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Las clases base para la clase \"{classType}\" definen la variable \"{name}\" de forma incompatible",
"binaryOperationNotAllowed": "Operador binario no permitido en la expresión de tipo",
"bindTypeMismatch": "No se pudo enlazar el método \"{methodName}\" porque \"{type}\" no se puede asignar al parámetro \"{paramName}\"",
"breakInExceptionGroup": "No se permite \"break\" en un bloque \"except*\"",
"breakOutsideLoop": "\"break\" solo se puede usar dentro de un bucle",
"bytesUnsupportedEscape": "Secuencia de escape no admitida en el literal de bytes",
"callableExtraArgs": "Se esperaban solo dos argumentos de tipo para \"Callable\".",
"callableFirstArg": "Lista de tipos de parámetros esperados o \"...\"",
"callableNotInstantiable": "No se puede instanciar el tipo \"{type}\"",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Error de coincidencia entre la firma de __new__ y __init__ en la clase \"{classType}\"",
"containmentAlwaysFalse": "La expresión siempre se evaluará como False, ya que los tipos \"{leftType}\" y \"{rightType}\" no tienen superposición",
"containmentAlwaysTrue": "La expresión siempre se evaluará como True, ya que los tipos \"{leftType}\" y \"{rightType}\" no tienen superposición",
"continueInExceptionGroup": "No se permite \"continue\" en un bloque \"except*\"",
"continueOutsideLoop": "\"continue\" solo puede utilizarse dentro de un bucle",
"coroutineInConditionalExpression": "La expresión condicional hace referencia a una corrutina que siempre se evalúa como True",
"dataClassBaseClassFrozen": "Una clase no inmovilizada no puede heredar de una clase inmovilizada",
@ -156,6 +159,8 @@
"enumMemberDelete": "No se puede eliminar el miembro de Enum \"{name}\"",
"enumMemberSet": "No se puede asignar el miembro de Enum \"{name}\"",
"enumMemberTypeAnnotation": "No se permiten anotaciones de tipo para miembros de enumeración",
"exceptGroupMismatch": "La instrucción Try no puede incluir \"except\" y \"except*\"",
"exceptGroupRequiresType": "La sintaxis del grupo de excepciones (\"except*\") requiere un tipo de excepción",
"exceptionGroupIncompatible": "La sintaxis de grupo de excepciones (\"except*\") requiere Python 3.11 o posterior.",
"exceptionGroupTypeIncorrect": "El tipo de excepción en except* no puede derivarse de BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" no se deriva de BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "Se esperaba un único argumento de tipo después de \"Required\"",
"requiredNotInTypedDict": "\"Required\" no está permitido en este contexto",
"returnInAsyncGenerator": "No se permite la instrucción Return con valor en el generador async",
"returnInExceptionGroup": "No se permite \"return\" en un bloque \"except*\"",
"returnMissing": "La función con el tipo de valor devuelto declarado \"{returnType}\" debe devolver un valor en todas las rutas de acceso del código.",
"returnOutsideFunction": "\"return\" solo se puede usar dentro de una función",
"returnTypeContravariant": "La variable de tipo contravariante no se puede usar en el tipo de valor devuelto",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Les classes de base de la classe « {classType} » définissent la variable « {name} » de manière incompatible",
"binaryOperationNotAllowed": "Opérateur binaire non autorisé dans l'expression de type",
"bindTypeMismatch": "Impossible de lier la méthode \"{methodName}\" car \"{type}\" n'est pas attribuable au paramètre \"{paramName}\"",
"breakInExceptionGroup":  break » nest pas autorisé dans un bloc « except* »",
"breakOutsideLoop": "\"break\" ne peut être utilisé qu'à l'intérieur d'une boucle",
"bytesUnsupportedEscape": "Séquence déchappement non prise en charge dans le littéral de bytes",
"callableExtraArgs": "Seuls deux arguments de type sont attendus pour « Callable »",
"callableFirstArg": "Liste de types de paramètres attendue ou « ... »",
"callableNotInstantiable": "Impossible dinstancier le type « {type} »",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Non-concordance entre la signature de __new__ et __init__ dans la classe \"{classType}\"",
"containmentAlwaysFalse": "L'expression sera toujours évaluée à False car les types \"{leftType}\" et \"{rightType}\" ne se chevauchent pas",
"containmentAlwaysTrue": "L'expression sera toujours évaluée à True puisque les types \"{leftType}\" et \"{rightType}\" ne se chevauchent pas",
"continueInExceptionGroup":  continue » nest pas autorisé dans un bloc « except* »",
"continueOutsideLoop": "« continuer » ne peut être utilisé quau sein dune boucle",
"coroutineInConditionalExpression": "L'expression conditionnelle fait référence à une coroutine qui est toujours évaluée à True",
"dataClassBaseClassFrozen": "Une classe non gelée ne peut pas hériter d'une classe gelée",
@ -156,6 +159,8 @@
"enumMemberDelete": "Le membre Enum « {name} » ne peut pas être supprimé",
"enumMemberSet": "Le membre Enum « {name} » ne peut pas être affecté",
"enumMemberTypeAnnotation": "Les annotations de type ne sont pas autorisées pour les membres enum",
"exceptGroupMismatch": "Linstruction Try ne peut pas inclure à la fois « except » et « except* »",
"exceptGroupRequiresType": "La syntaxe du groupe dexceptions (« except* ») nécessite un type dexception",
"exceptionGroupIncompatible": "La syntaxe du groupe dexceptions (« except* ») nécessite Python 3.11 ou version ultérieure",
"exceptionGroupTypeIncorrect": "Le type dexception dans except* ne peut pas dériver de BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" ne dérive pas de BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "Attendu un argument de type unique après \"Required\"",
"requiredNotInTypedDict":  Required » nest pas autorisé dans ce contexte",
"returnInAsyncGenerator": "L'instruction de retour avec valeur n'est pas autorisée dans le générateur asynchrone",
"returnInExceptionGroup":  return » nest pas autorisé dans un bloc « except* »",
"returnMissing": "La fonction avec le type de retour déclaré \"{returnType}\" doit renvoyer une valeur sur tous les chemins de code",
"returnOutsideFunction": "\"return\" ne peut être utilisé que dans une fonction",
"returnTypeContravariant": "La variable de type contravariant ne peut pas être utilisée dans le type de retour",
@ -575,7 +581,7 @@
"unaccessedClass": "La classe \"{name}\" n'est pas accessible",
"unaccessedFunction": "La fonction « {name} » nest pas accessible",
"unaccessedImport": "Limportation « {name} » nest pas accessible",
"unaccessedSymbol": "« {name} » nest pas accessible",
"unaccessedSymbol": "« {name} » nest pas utilisé(e)",
"unaccessedVariable": "La variable « {name} » nest pas accessible",
"unannotatedFunctionSkipped": "L'analyse de la fonction \"{name}\" est ignorée car elle n'est pas annotée",
"unaryOperationNotAllowed": "L'opérateur unaire n'est pas autorisé dans l'expression de type",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Le classi di base per la classe \"{classType}\" definiscono la variabile \"{name}\" in modo incompatibile",
"binaryOperationNotAllowed": "Operatore binario non consentito nell'espressione di tipo",
"bindTypeMismatch": "Non è stato possibile associare il metodo \"{methodName}\" perché non è possibile assegnare\"{type}\" al parametro \"{paramName}\"",
"breakInExceptionGroup": "\"break\" non consentito in un blocco \"except*\"",
"breakOutsideLoop": "\"break\" può essere usato solo all'interno di un ciclo",
"bytesUnsupportedEscape": "Sequenza di escape non supportata nel valore letterale bytes",
"callableExtraArgs": "Sono previsti solo due argomenti di tipo per \"Callable\"",
"callableFirstArg": "Previsto elenco dei tipi di parametro o \"...\"",
"callableNotInstantiable": "Non è possibile creare un'istanza del tipo \"{type}\"",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Mancata corrispondenza tra firma di __new__ e __init__ nella classe \"{classType}\"",
"containmentAlwaysFalse": "L'espressione restituisce sempre False perché i tipi \"{leftType}\" e \"{rightType}\" non si sovrappongono",
"containmentAlwaysTrue": "L'espressione restituisce sempre True perché i tipi \"{leftType}\" e \"{rightType}\" non si sovrappongono",
"continueInExceptionGroup": "\"continue\" non consentito in un blocco \"except*\"",
"continueOutsideLoop": "\"continue\" può essere usato solo all'interno di un ciclo",
"coroutineInConditionalExpression": "L'espressione condizionale fa riferimento a una coroutine che restituisce sempre True",
"dataClassBaseClassFrozen": "Una classe non bloccata non può ereditare da una classe bloccata",
@ -156,6 +159,8 @@
"enumMemberDelete": "Non è possibile eliminare il membro di Enum \"{name}\"",
"enumMemberSet": "Non è possibile assegnare il membro di Enum \"{name}\"",
"enumMemberTypeAnnotation": "Le annotazioni di tipo non sono consentite per i membri di enumerazione",
"exceptGroupMismatch": "L'istruzione Try non può includere sia \"except\" che \"except*\"",
"exceptGroupRequiresType": "La sintassi del gruppo di eccezioni (\"except*\") richiede un tipo di eccezione",
"exceptionGroupIncompatible": "La sintassi del gruppo di eccezioni (\"except*\") richiede Python 3.11 o versione successiva",
"exceptionGroupTypeIncorrect": "Il tipo di eccezione in except* non può derivare da BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" non deriva da BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "È previsto un singolo argomento di tipo dopo \"Required\"",
"requiredNotInTypedDict": "\"Required\" non è consentito in questo contesto",
"returnInAsyncGenerator": "Listruzione return con valore non è consentita nel generatore async",
"returnInExceptionGroup": "\"return\" non consentito in un blocco \"except*\"",
"returnMissing": "La funzione con tipo restituito dichiarato \"{returnType}\" deve restituire un valore in tutti i percorsi di codice",
"returnOutsideFunction": "\"return\" può essere usata solo all'interno di una funzione.",
"returnTypeContravariant": "Non è possibile usare la variabile di tipo controvariante nel tipo restituito",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "クラス \"{classType}\" の基底クラスは、互換性のない方法で変数 \"{name}\" を定義します",
"binaryOperationNotAllowed": "2 項演算子は型式では使用できません",
"bindTypeMismatch": "\"{type}\" がパラメーター \"{paramName}\" に割り当てできないため、メソッド \"{methodName}\" をバインドできませんでした",
"breakInExceptionGroup": "\"except*\" ブロックでは \"break\" を使用できません",
"breakOutsideLoop": "\"break\" はループ内でのみ使用できます",
"bytesUnsupportedEscape": "bytes リテラルでサポートされていないエスケープ シーケンス",
"callableExtraArgs": "\"Callable\" に必要な型引数は 2 つだけです",
"callableFirstArg": "パラメーターの型リストまたは \"...\" が必要です。",
"callableNotInstantiable": "型 \"{type}\" をインスタンス化できません",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "クラス \"{classType}\" の__new__と__init__のシグネチャの不一致",
"containmentAlwaysFalse": "型 \"{leftType}\" と \"{rightType}\" に重複がないため、式は常に False に評価されます",
"containmentAlwaysTrue": "型 \"{leftType}\" と \"{rightType}\" に重複がないため、式は常に True に評価されます",
"continueInExceptionGroup": "\"except*\" ブロックでは \"continue\" を使用できません",
"continueOutsideLoop": "\"continue\" はループ内でのみ使用できます",
"coroutineInConditionalExpression": "常に True に評価される条件式参照コルーチン",
"dataClassBaseClassFrozen": "固定されていないクラスは、固定されているクラスから継承できません",
@ -156,6 +159,8 @@
"enumMemberDelete": "Enum メンバー \"{name}\" を削除できません",
"enumMemberSet": "Enum メンバー \"{name}\" を割り当てることはできません",
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
"exceptGroupMismatch": "Try ステートメントに \"except\" と \"except*\" の両方を含めることはできません",
"exceptGroupRequiresType": "例外グループ構文 (\"except*\") には例外の種類が必要です",
"exceptionGroupIncompatible": "例外グループの構文 (\"except*\") には Python 3.11 以降が必要です",
"exceptionGroupTypeIncorrect": "except* の例外型は BaseGroupException から派生できません",
"exceptionTypeIncorrect": "\"{type}\" は BaseException から派生していません",
@ -425,6 +430,7 @@
"requiredArgCount": "\"Required\" の後に 1 つの型引数が必要です",
"requiredNotInTypedDict": "このコンテキストでは \"Required\" は許可されません",
"returnInAsyncGenerator": "値を持つ return ステートメントは、async ジェネレーターでは使用できません",
"returnInExceptionGroup": "\"except*\" ブロックでは \"return\" を使用できません",
"returnMissing": "戻り値の型が \"{returnType}\" として宣言されている関数は、すべてのコード パスで値を返す必要があります",
"returnOutsideFunction": "\"return\" は関数内でのみ使用できます",
"returnTypeContravariant": "反変の型変数は戻り値の型では使用できません",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "\"{classType}\" 클래스의 기본 클래스가 \"{name}\" 변수를 호환되지 않는 방식으로 정의합니다.",
"binaryOperationNotAllowed": "형식 식에는 이항 연산자를 사용할 수 없습니다.",
"bindTypeMismatch": "{type}’을(를) 매개 변수 {paramName}’에 할당할 수 없으므로 {methodName} 메서드를 바인딩할 수 없습니다.",
"breakInExceptionGroup": "\"except*\" 블록에는 \"break\"를 사용할 수 없습니다",
"breakOutsideLoop": "break는 루프 내에서만 사용할 수 있습니다.",
"bytesUnsupportedEscape": "bytes 리터럴에 지원되지 않는 이스케이프 시퀀스가 있습니다.",
"callableExtraArgs": "\"Callable\"에 두 개의 형식 인수만 필요합니다.",
"callableFirstArg": "매개 변수 형식 목록 또는 \"...\"가 필요합니다.",
"callableNotInstantiable": "\"{type}\" 형식을 인스턴스화할 수 없습니다.",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "{classType} 클래스에서 __new__ 서명과 __init__가 불일치합니다.",
"containmentAlwaysFalse": "{leftType}{rightType} 형식이 겹치지 않으므로 식은 항상 False로 평가됩니다.",
"containmentAlwaysTrue": "{leftType}{rightType} 형식이 겹치지 않으므로 식은 항상 True로 평가됩니다.",
"continueInExceptionGroup": "\"except*\" 블록에는 \"continue\"를 사용할 수 없습니다",
"continueOutsideLoop": "\"continue\"는 루프 내에서만 사용할 수 있습니다.",
"coroutineInConditionalExpression": "조건식은 항상 True로 평가되는 코루틴을 참조합니다.",
"dataClassBaseClassFrozen": "고정되지 않은 클래스는 고정된 클래스에서 상속할 수 없습니다.",
@ -156,6 +159,8 @@
"enumMemberDelete": "Enum 멤버 \"{name}\"을(를) 삭제할 수 없음",
"enumMemberSet": "Enum 멤버 \"{name}\"을(를) 할당할 수 없음",
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
"exceptGroupMismatch": "Try 문에는 \"except\"와 \"except*\"를 둘 다 포함할 수 없습니다",
"exceptGroupRequiresType": "예외 그룹 구문(\"except*\")에는 예외 형식이 필요합니다",
"exceptionGroupIncompatible": "예외 그룹 구문(\"except*\")에는 Python 3.11 이상이 필요합니다.",
"exceptionGroupTypeIncorrect": "except*의 예외 형식은 BaseGroupException에서 파생될 수 없습니다.",
"exceptionTypeIncorrect": "{type}’은 BaseException에서 파생되지 않습니다.",
@ -425,6 +430,7 @@
"requiredArgCount": "Required 뒤에 단일 형식 인수가 필요합니다.",
"requiredNotInTypedDict": "이 컨텍스트에서는 \"Required\"를 사용할 수 없습니다.",
"returnInAsyncGenerator": "값이 있는 Return 문은 async 생성기에서 사용할 수 없습니다.",
"returnInExceptionGroup": "\"except*\" 블록에는 \"return\"을 사용할 수 없습니다",
"returnMissing": "선언된 반환 형식이 \"{returnType}\"인 함수는 모든 코드 경로에서 값을 반환해야 합니다.",
"returnOutsideFunction": "return은 함수 내에서만 사용할 수 있습니다.",
"returnTypeContravariant": "반공변 유형 변수는 반환 형식에 사용할 수 없습니다.",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Klasy bazowe dla klasy „{classType}” definiują zmienną „{name}” w niezgodny sposób",
"binaryOperationNotAllowed": "Operator binarny nie jest dozwolony w wyrażeniu typu",
"bindTypeMismatch": "Nie można powiązać metody „{methodName}”, ponieważ nie można przypisać typu „{type}” do parametru „{paramName}”",
"breakInExceptionGroup": "„break” nie jest dozwolone w bloku „except*”",
"breakOutsideLoop": "Wartość „break” może być używana tylko w pętli",
"bytesUnsupportedEscape": "Nieobsługiwana sekwencja ucieczki w literałach bytes",
"callableExtraArgs": "Oczekiwano tylko dwóch argumentów typu „Callable”",
"callableFirstArg": "Oczekiwano listy typów parametrów lub znaków „...”",
"callableNotInstantiable": "Nie można utworzyć wystąpienia typu „{type}”",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Niezgodność między sygnaturą „__new__” i „__init__” w klasie „{classType}”",
"containmentAlwaysFalse": "Warunek zawsze będzie miał wartość False, ponieważ typy „{leftType}” i „{rightType}” nie nakładają się na siebie",
"containmentAlwaysTrue": "Warunek zawsze będzie miał wartość „True”, ponieważ typy „{leftType}” i „{rightType}” nie nakładają się na siebie",
"continueInExceptionGroup": "„continue” nie jest dozwolone w bloku „except*”",
"continueOutsideLoop": "Wartość „continue” może być używana tylko w pętli",
"coroutineInConditionalExpression": "Wyrażenie warunkowe odwołuje się do koprocedury, która zawsze wyznacza wartość True",
"dataClassBaseClassFrozen": "Klasa niezablokowana nie może dziedziczyć po klasie zablokowanej",
@ -156,6 +159,8 @@
"enumMemberDelete": "Nie można usunąć składowej Enum \"{name}\"",
"enumMemberSet": "Nie można przypisać składowej Enum „{name}”",
"enumMemberTypeAnnotation": "Adnotacje typu nie są dozwolone dla składowych enum",
"exceptGroupMismatch": "Instrukcja Try nie może zawierać jednocześnie „except” i „except*”",
"exceptGroupRequiresType": "Składnia grupy wyjątków (\"except*\") wymaga typu wyjątku",
"exceptionGroupIncompatible": "Składnia grupy wyjątków („except*”) wymaga języka Python w wersji 3.11 lub nowszej",
"exceptionGroupTypeIncorrect": "Typ wyjątku w wyrażeniu except* nie może pochodzić z grupy BaseGroupException",
"exceptionTypeIncorrect": "Typ „{type}” nie pochodzi od parametru BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "Oczekiwano jednego argumentu typu po wartości „Required”",
"requiredNotInTypedDict": "Element „Required” jest niedozwolony w tym kontekście",
"returnInAsyncGenerator": "Instrukcja „return” z wartością jest niedozwolona w generatorze asynchronicznym",
"returnInExceptionGroup": "„return” nie jest dozwolone w bloku „except*”",
"returnMissing": "Funkcja z zadeklarowanym typem zwracanym „{returnType}” musi zwracać wartość we wszystkich ścieżkach kodu",
"returnOutsideFunction": "Instrukcja „return” może być używana tylko w ramach funkcji",
"returnTypeContravariant": "Kontrawariantna zmienna typu nie może być używana w zwracanym typie",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Classes base para a classe \"{classType}\" definem a variável \"{name}\" de maneira incompatível",
"binaryOperationNotAllowed": "Operador binário não permitido na expressão de tipo",
"bindTypeMismatch": "Não foi possível associar o método \"{methodName}\" porque \"{type}\" não é atribuível ao parâmetro \"{paramName}\"",
"breakInExceptionGroup": "\"break\" não é permitido em um bloco \"except*\"",
"breakOutsideLoop": "\"break\" só pode ser usado dentro de um loop",
"bytesUnsupportedEscape": "Sequência de escape sem suporte em literal de bytes",
"callableExtraArgs": "Esperava-se apenas dois argumentos de tipo para \"Callable\"",
"callableFirstArg": "Lista de tipos de parâmetro esperado ou \"...\"",
"callableNotInstantiable": "Não é possível criar uma instância do tipo \"{type}\"",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Incompatibilidade entre a assinatura de __new__ e __init__ na classe \"{classType}\"",
"containmentAlwaysFalse": "A expressão sempre será avaliada como False, pois os tipos \"{leftType}\" e \"{rightType}\" não têm sobreposição",
"containmentAlwaysTrue": "A expressão sempre será avaliada como True, pois os tipos \"{leftType}\" e \"{rightType}\" não têm sobreposição",
"continueInExceptionGroup": "\"continue\" não é permitido em um bloco \"except*\"",
"continueOutsideLoop": "\"continue\" só pode ser usado dentro de um loop",
"coroutineInConditionalExpression": "A expressão condicional faz referência à corrotina, que sempre é avaliada como True",
"dataClassBaseClassFrozen": "Uma classe não congelada não pode herdar de uma classe congelada",
@ -156,6 +159,8 @@
"enumMemberDelete": "O membro Enum \"{name}\" não pode ser excluído",
"enumMemberSet": "O membro Enum \"{name}\" não pode ser atribuído",
"enumMemberTypeAnnotation": "Anotações de tipo não são permitidas para membros de enumeração",
"exceptGroupMismatch": "A instrução Try não pode incluir \"except\" e \"except*\"",
"exceptGroupRequiresType": "A sintaxe do grupo de exceção (\"except*\") requer um tipo de exceção",
"exceptionGroupIncompatible": "A sintaxe do grupo de exceção (\"except*\") requer o Python 3.11 ou mais recente",
"exceptionGroupTypeIncorrect": "O tipo de exceção em except* não pode derivar de BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" não deriva de BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "Argumento de tipo único esperado após \"Required\"",
"requiredNotInTypedDict": "\"Required\" não é permitido neste contexto",
"returnInAsyncGenerator": "A instrução return com valor não é permitida no gerador async",
"returnInExceptionGroup": "\"return\" não é permitido em um bloco \"except*\"",
"returnMissing": "Função com tipo de retorno declarado \"{returnType}\" deve retornar valor em todos os caminhos de código",
"returnOutsideFunction": "\"return\" só pode ser usado dentro de uma função",
"returnTypeContravariant": "A variável de tipo contravariante não pode ser usada no tipo de retorno",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "[YmxlD][นั้ßæsë çlæssës før çlæss \"{çlæssTÿpë}\" ðëfïñë værïæþlë \"{ñæmë}\" ïñ ïñçømpætïþlë wæÿẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]",
"binaryOperationNotAllowed": "[1lzlz][นั้ßïñærÿ øpërætør ñøt ælløwëð ïñ tÿpë ëxprëssïøñẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]",
"bindTypeMismatch": "[x4sbf][นั้Çøµlð ñøt þïñð mëthøð \"{mëthøðÑæmë}\" þëçæµsë \"{tÿpë}\" ïs ñøt æssïgñæþlë tø pæræmëtër \"{pæræmÑæmë}\"Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]",
"breakInExceptionGroup": "[Kwoku][นั้\"break\" ïs ñøt ælløwëð ïñ æñ \"except*\" þløçkẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]",
"breakOutsideLoop": "[Ca4Ip][นั้\"break\" çæñ þë µsëð øñlÿ wïthïñ æ løøpẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]",
"bytesUnsupportedEscape": "[TxAaf][นั้Üñsµppørtëð ësçæpë sëqµëñçë ïñ bytes lïtërælẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]",
"callableExtraArgs": "[M3UIb][นั้Ëxpëçtëð øñlÿ twø tÿpë ærgµmëñts tø \"Callable\"Ấğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]",
"callableFirstArg": "[W1wTU][นั้Ëxpëçtëð pæræmëtër tÿpë lïst ør \"...\"Ấğ倪İЂҰक्र्तिृまẤนั้ढूँ]",
"callableNotInstantiable": "[sJ0Q8][นั้Çæññøt ïñstæñtïætë tÿpë \"{tÿpë}\"Ấğ倪İЂҰक्र्तिृนั้ढूँ]",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "[WWloK][นั้Mïsmætçh þëtwëëñ sïgñætµrë øf __new__ æñð __init__ ïñ çlæss \"{çlæssTÿpë}\"Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]",
"containmentAlwaysFalse": "[e6PIv][นั้Ëxprëssïøñ wïll ælwæÿs ëvælµætë tø False sïñçë thë tÿpës \"{lëftTÿpë}\" æñð \"{rïghtTÿpë}\" hævë ñø øvërlæpẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]",
"containmentAlwaysTrue": "[8OhUO][นั้Ëxprëssïøñ wïll ælwæÿs ëvælµætë tø True sïñçë thë tÿpës \"{lëftTÿpë}\" æñð \"{rïghtTÿpë}\" hævë ñø øvërlæpẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]",
"continueInExceptionGroup": "[h1tNi][นั้\"continue\" ïs ñøt ælløwëð ïñ æñ \"except*\" þløçkẤğ倪İЂҰक्र्तिृまẤğ倪İЂนั้ढूँ]",
"continueOutsideLoop": "[6ACvd][นั้\"continue\" çæñ þë µsëð øñlÿ wïthïñ æ løøpẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]",
"coroutineInConditionalExpression": "[ygK2r][นั้Çøñðïtïøñæl ëxprëssïøñ rëfërëñçës çørøµtïñë whïçh ælwæÿs ëvælµætës tø TrueẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]",
"dataClassBaseClassFrozen": "[jjiw4][นั้Æ ñøñ-frøzëñ çlæss çæññøt ïñhërït frøm æ çlæss thæt ïs frøzëñẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्นั้ढूँ]",
@ -156,6 +159,8 @@
"enumMemberDelete": "[5wmRY][นั้Enum mëmþër \"{ñæmë}\" çæññøt þë ðëlëtëðẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]",
"enumMemberSet": "[mBLro][นั้Enum mëmþër \"{ñæmë}\" çæññøt þë æssïgñëðẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]",
"enumMemberTypeAnnotation": "[z8FaL][นั้Tÿpë æññøtætïøñs ærë ñøt ælløwëð før enum mëmþërsẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰนั้ढूँ]",
"exceptGroupMismatch": "[XbzjN][นั้Trÿ stætëmëñt çæññøt ïñçlµðë þøth \"except\" æñð \"except*\"Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्นั้ढूँ]",
"exceptGroupRequiresType": "[740wj][นั้Ëxçëptïøñ grøµp sÿñtæx (\"except*\") rëqµïrës æñ ëxçëptïøñ tÿpëẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्นั้ढूँ]",
"exceptionGroupIncompatible": "[d0SLP][นั้Ëxçëptïøñ grøµp sÿñtæx (\"except*\") rëqµïrës Pÿthøñ 3.11 ør ñëwërẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]",
"exceptionGroupTypeIncorrect": "[Kanvz][นั้Ëxçëptïøñ tÿpë ïñ except* çæññøt ðërïvë frøm BaseGroupExceptionẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]",
"exceptionTypeIncorrect": "[G7AZt][นั้\"{tÿpë}\" ðøës ñøt ðërïvë frøm BaseExceptionẤğ倪İЂҰक्र्तिृまẤğ倪นั้ढूँ]",
@ -425,6 +430,7 @@
"requiredArgCount": "[aZX4z][นั้Ëxpëçtëð æ sïñglë tÿpë ærgµmëñt æftër \"Required\"Ấğ倪İЂҰक्र्तिृまẤğ倪İЂนั้ढूँ]",
"requiredNotInTypedDict": "[TArW6][นั้\"Required\" ïs ñøt ælløwëð ïñ thïs çøñtëxtẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]",
"returnInAsyncGenerator": "[qb5pt][นั้Rëtµrñ stætëmëñt wïth vælµë ïs ñøt ælløwëð ïñ async gëñërætørẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्นั้ढूँ]",
"returnInExceptionGroup": "[wRRjc][นั้\"return\" ïs ñøt ælløwëð ïñ æñ \"except*\" þløçkẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]",
"returnMissing": "[kPevK][นั้Fµñçtïøñ wïth ðëçlærëð rëtµrñ tÿpë \"{rëtµrñTÿpë}\" mµst rëtµrñ vælµë øñ æll çøðë pæthsẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰนั้ढूँ]",
"returnOutsideFunction": "[O4SJp][นั้\"return\" çæñ þë µsëð øñlÿ wïthïñ æ fµñçtïøñẤğ倪İЂҰक्र्तिृまẤğ倪นั้ढूँ]",
"returnTypeContravariant": "[KkMhh][นั้Çøñtræværïæñt tÿpë værïæþlë çæññøt þë µsëð ïñ rëtµrñ tÿpëẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्นั้ढूँ]",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "Базовые классы класса \"{classType}\" определяют переменную \"{name}\" несовместимым способом",
"binaryOperationNotAllowed": "Бинарный оператор нельзя использовать в выражении типа",
"bindTypeMismatch": "Не удалось привязать метод \"{methodName}\", \"{type}\" не может быть назначен параметру \"{paramName}\"",
"breakInExceptionGroup": "Запрещено наличие \"break\" в блоке \"except*\"",
"breakOutsideLoop": "\"break\" можно использовать только внутри цикла",
"bytesUnsupportedEscape": "Неподдерживаемая escape-последовательность в литерале bytes",
"callableExtraArgs": "В \"Callable\" ожидается только два аргумента типа",
"callableFirstArg": "Ожидается список типов параметров или \"...\"",
"callableNotInstantiable": "Невозможно создать экземпляр типа \"{type}\"",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "Несоответствие подписи __new__ и __init__ в классе \"{classType}\"",
"containmentAlwaysFalse": "Выражение всегда будет оцениваться как False, так как типы \"{leftType}\" и \"{rightType}\" не перекрываются",
"containmentAlwaysTrue": "Выражение всегда будет оцениваться как True, так как типы \"{leftType}\" и \"{rightType}\" не перекрываются",
"continueInExceptionGroup": "Запрещено наличие \"continue\" в блоке \"except*\"",
"continueOutsideLoop": "Ключевое слово \"continue\" можно использовать только внутри цикла",
"coroutineInConditionalExpression": "Условное выражение ссылается на сопрограмму, которая всегда возвращает значение True",
"dataClassBaseClassFrozen": "Незафиксированный класс не может наследоваться от зафиксированного класса",
@ -156,6 +159,8 @@
"enumMemberDelete": "Не удается удалить элемент Enum \"{name}\"",
"enumMemberSet": "Не удается назначить элемент Enum \"{name}\"",
"enumMemberTypeAnnotation": "Аннотации типов не разрешены для элементов enum",
"exceptGroupMismatch": "Оператор Try не может одновременно включать \"except\" и \"except*\"",
"exceptGroupRequiresType": "Для синтаксиса группы исключений (\"except*\") требуется тип исключения",
"exceptionGroupIncompatible": "Синтаксис группы исключений (\"except*\") можно использовать в Python версии не ранее 3.11",
"exceptionGroupTypeIncorrect": "Тип исключения в except* не может быть производным от BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" не является производным от BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "Ожидается один аргумент типа после \"Required\"",
"requiredNotInTypedDict": "Использование \"Required\" в этом контексте не допускается",
"returnInAsyncGenerator": "Оператор return со значением не допускается в генераторе async",
"returnInExceptionGroup": "Запрещено наличие \"return\" в блоке \"except*\"",
"returnMissing": "Функция с объявленным типом возвращаемого значения \"{returnType}\" должна возвращать значение во всех путях кода",
"returnOutsideFunction": "\"return\" можно использовать только внутри функции",
"returnTypeContravariant": "Переменная контравариантного типа не может использоваться в возвращаемом типе",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "\"{classType}\" sınıfı için temel sınıflar, \"{name}\" değişkenini uyumsuz bir şekilde tanımlıyor",
"binaryOperationNotAllowed": "Tür ifadesinde ikili işleç kullanılamaz",
"bindTypeMismatch": "\"{type}\", \"{paramName}\" parametresine atanamadığından \"{methodName}\" metodu bağlanamadı",
"breakInExceptionGroup": "\"except*\" bloğunda \"break\" kullanılamaz",
"breakOutsideLoop": "\"break\" yalnızca bir döngü içinde kullanılabilir",
"bytesUnsupportedEscape": "bytes sabit değerinde desteklenmeyen kaçış dizisi",
"callableExtraArgs": "\"Callable\" için yalnızca iki tür bağımsız değişkeni bekleniyordu",
"callableFirstArg": "Parametre türü listesi veya \"...\" bekleniyordu",
"callableNotInstantiable": "\"{type}\" türünün örneği oluşturulamıyor",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "\"{classType}\" sınıfındaki __new__ ve __init__ imzaları arasında uyuşmazlık var",
"containmentAlwaysFalse": "\"{leftType}\" türleri ve \"{rightType}\" türleri çakışmadığından ifade her zaman False olarak değerlendirilir",
"containmentAlwaysTrue": "\"{leftType}\" türleri ve \"{rightType}\" türleri çakışmadığından ifade her zaman True olarak değerlendirilir",
"continueInExceptionGroup": "\"except*\" bloğunda \"continue\" kullanılamaz",
"continueOutsideLoop": "\"continue\" yalnızca bir döngü içinde kullanılabilir",
"coroutineInConditionalExpression": "Koşullu ifade, her zaman True olarak değerlendirilen eş yordama başvurur",
"dataClassBaseClassFrozen": "Dondurulmuş olmayan bir sınıf dondurulmuş bir sınıftan devralamaz",
@ -156,6 +159,8 @@
"enumMemberDelete": "Enum üyesi \"{name}\" silinemiyor",
"enumMemberSet": "Enum üyesi \"{name}\" atanamıyor",
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
"exceptGroupMismatch": "Try ifadesi hem \"except*\" hem de \"except\" içeremez",
"exceptGroupRequiresType": "Özel durum grubu söz dizimi (\"except*\") biri özel durum türü gerektirir",
"exceptionGroupIncompatible": "Özel durum grubu söz dizimi (\"except*\") için Python 3.11 veya daha yeni bir sürümü gerekiyor",
"exceptionGroupTypeIncorrect": "except* altındaki özel durum türü BaseGroupException değerinden türetilemiyor",
"exceptionTypeIncorrect": "\"{type}\", BaseException türevi değil",
@ -425,6 +430,7 @@
"requiredArgCount": "\"Required\" sonrasında tek bir tür bağımsız değişken bekleniyordu",
"requiredNotInTypedDict": "Bu bağlamda \"Required\" kullanımına izin verilmiyor",
"returnInAsyncGenerator": "Return statement with value is not allowed in async generator",
"returnInExceptionGroup": "\"except*\" bloğunda \"return\" kullanılamaz",
"returnMissing": "Bildirilen \"{returnType}\" döndürme türüne sahip işlev, tüm kod yollarında değer döndürmelidir",
"returnOutsideFunction": "\"return\" yalnızca bir işlev içinde kullanılabilir",
"returnTypeContravariant": "Değişken karşıtı tür değişkeni dönüş türünde kullanılamaz",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "类“{classType}”的基类以不兼容的方式定义变量“{name}”",
"binaryOperationNotAllowed": "类型表达式中不允许使用二元运算符",
"bindTypeMismatch": "无法绑定方法“{methodName}”,因为“{type}”不能分配给参数“{paramName}”",
"breakInExceptionGroup": "\"except*\" 块中不允许 \"break\"",
"breakOutsideLoop": "“break”只能在循环中使用",
"bytesUnsupportedEscape": "bytes 文本中不受支持的转义序列",
"callableExtraArgs": "\"Callable\"应只有两个类型参数",
"callableFirstArg": "应为参数类型列表或“...”",
"callableNotInstantiable": "无法实例化类型“{type}”",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "类“{classType}”中__new__和__init__的签名不匹配",
"containmentAlwaysFalse": "表达式的计算结果始终为 False因为类型“{leftType}”和“{rightType}”没有重叠",
"containmentAlwaysTrue": "表达式的计算结果始终为 True因为类型“{leftType}”和“{rightType}”没有重叠",
"continueInExceptionGroup": "\"except*\" 块中不允许 \"continue\"",
"continueOutsideLoop": "“continue”只能在循环中使用",
"coroutineInConditionalExpression": "始终计算结果为 True 的条件表达式引用协同例程",
"dataClassBaseClassFrozen": "非冻结类不能从已冻结类继承",
@ -156,6 +159,8 @@
"enumMemberDelete": "无法删除 Enum 成员 \"{name}\"",
"enumMemberSet": "无法分配 Enum 成员 \"{name}\"",
"enumMemberTypeAnnotation": "enum 成员不允许使用类型批注",
"exceptGroupMismatch": "Try 语句不能同时包含 \"except\" 和 \"except*\"",
"exceptGroupRequiresType": "异常组语法(\"except*\")需要异常类型",
"exceptionGroupIncompatible": "异常组语法 (\"except*\") 需要 Python 3.11 或更高版本",
"exceptionGroupTypeIncorrect": "except* 中的异常类型不能派生自 BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" 不是派生自 BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "\"Required\"后应为单个类型参数",
"requiredNotInTypedDict": "此上下文中不允许使用\"Required\"",
"returnInAsyncGenerator": "async 生成器中不允许使用具有值的 return 语句",
"returnInExceptionGroup": "\"except*\" 块中不允许 \"return\"",
"returnMissing": "所声明的返回类型为“{returnType}”的函数必须在所有代码路径上返回值",
"returnOutsideFunction": "“return”只能在函数中使用",
"returnTypeContravariant": "逆变类型变量不能用于返回类型",

View file

@ -59,7 +59,9 @@
"baseClassVariableTypeIncompatible": "類別 \"{classType}\" 的基底類別以不相容的方式定義變數 \"{name}\"",
"binaryOperationNotAllowed": "類型運算式中不允許二元運算子",
"bindTypeMismatch": "無法繫結方法 \"{methodName}\",因為 \"{type}\" 無法指派給參數 \"{paramName}\"",
"breakInExceptionGroup": "\"except*\" 區塊中不允許 \"break\"",
"breakOutsideLoop": "\"break\" 只能在迴圈內使用",
"bytesUnsupportedEscape": "bytes 常值中不支援的逸出序列",
"callableExtraArgs": "預期 \"Callable\" 只有兩個類型引數",
"callableFirstArg": "預期為參數類型清單或 \"...\"",
"callableNotInstantiable": "不能具現化類型 \"{type}\"",
@ -96,6 +98,7 @@
"constructorParametersMismatch": "類別 \"{classType}\" 中__new__與__init__的簽章不相符",
"containmentAlwaysFalse": "運算式一律會評估為 False因為型別 \"{leftType}\" 和 \"{rightType}\" 沒有重疊",
"containmentAlwaysTrue": "運算式一律會評估為 True因為型別 \"{leftType}\" 和 \"{rightType}\" 沒有重疊",
"continueInExceptionGroup": "\"except*\" 區塊中不允許 \"continue\"",
"continueOutsideLoop": "\"continue\" 只能在 loop 內使用",
"coroutineInConditionalExpression": "條件運算式參考協同程式,一律評估為 True",
"dataClassBaseClassFrozen": "未凍結的類別無法繼承已凍結的類別",
@ -156,6 +159,8 @@
"enumMemberDelete": "Enum member \"{name}\" cannot be deleted",
"enumMemberSet": "Enum member \"{name}\" cannot be assigned",
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
"exceptGroupMismatch": "Try 陳述式不能同時包含 \"except\" 與 “except*”",
"exceptGroupRequiresType": "例外狀況群組語法 (\"except*\") 需要例外狀況類型",
"exceptionGroupIncompatible": "例外群組語法 (\"except*\") 需要 Python 3.11 或更新版本",
"exceptionGroupTypeIncorrect": "except* 中的例外狀況類型不能衍生自 BaseGroupException",
"exceptionTypeIncorrect": "\"{type}\" 不是衍生自 BaseException",
@ -425,6 +430,7 @@
"requiredArgCount": "\"Required\" 後面應有單一型別引數",
"requiredNotInTypedDict": "此內容中不允許 \"Required\"",
"returnInAsyncGenerator": "Return statement with value is not allowed in async generator",
"returnInExceptionGroup": "\"except*\" 區塊中不允許 \"return\"",
"returnMissing": "宣告類型為 \"{returnType}\" 的函式必須在所有程式碼路徑上傳回值",
"returnOutsideFunction": "\"return\" 只能在函式內使用",
"returnTypeContravariant": "逆變數型別變數不能用在傳回型別中",

View file

@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "es2019",
"target": "es2020",
"module": "node16",
"lib": [
"es2019"
"es2020"
],
"skipLibCheck": true,
"esModuleInterop": true,