@zzzen/pyright-internal 1.2.0-dev.20230820 → 1.2.0-dev.20230827
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analyzer/checker.js +46 -64
- package/dist/analyzer/checker.js.map +1 -1
- package/dist/analyzer/codeFlowEngine.js +23 -1
- package/dist/analyzer/codeFlowEngine.js.map +1 -1
- package/dist/analyzer/constraintSolver.js +2 -1
- package/dist/analyzer/constraintSolver.js.map +1 -1
- package/dist/analyzer/constructorTransform.js +1 -1
- package/dist/analyzer/constructorTransform.js.map +1 -1
- package/dist/analyzer/decorators.js +11 -6
- package/dist/analyzer/decorators.js.map +1 -1
- package/dist/analyzer/deprecatedSymbols.d.ts +9 -0
- package/dist/analyzer/deprecatedSymbols.js +292 -0
- package/dist/analyzer/deprecatedSymbols.js.map +1 -0
- package/dist/analyzer/docStringConversion.js +7 -1
- package/dist/analyzer/docStringConversion.js.map +1 -1
- package/dist/analyzer/importResolver.js +5 -0
- package/dist/analyzer/importResolver.js.map +1 -1
- package/dist/analyzer/program.d.ts +3 -3
- package/dist/analyzer/program.js +5 -9
- package/dist/analyzer/program.js.map +1 -1
- package/dist/analyzer/sourceFile.js +1 -0
- package/dist/analyzer/sourceFile.js.map +1 -1
- package/dist/analyzer/typeEvaluator.js +530 -432
- package/dist/analyzer/typeEvaluator.js.map +1 -1
- package/dist/analyzer/typeGuards.js +15 -4
- package/dist/analyzer/typeGuards.js.map +1 -1
- package/dist/analyzer/typeUtils.d.ts +2 -2
- package/dist/analyzer/typeUtils.js +10 -5
- package/dist/analyzer/typeUtils.js.map +1 -1
- package/dist/analyzer/typeVarContext.js +3 -1
- package/dist/analyzer/typeVarContext.js.map +1 -1
- package/dist/analyzer/types.d.ts +6 -1
- package/dist/analyzer/types.js +19 -0
- package/dist/analyzer/types.js.map +1 -1
- package/dist/common/cancellationUtils.d.ts +2 -1
- package/dist/common/cancellationUtils.js +3 -0
- package/dist/common/cancellationUtils.js.map +1 -1
- package/dist/common/configOptions.d.ts +1 -0
- package/dist/common/configOptions.js +5 -1
- package/dist/common/configOptions.js.map +1 -1
- package/dist/common/diagnosticRules.d.ts +1 -0
- package/dist/common/diagnosticRules.js +1 -0
- package/dist/common/diagnosticRules.js.map +1 -1
- package/dist/languageService/completionProvider.js +9 -3
- package/dist/languageService/completionProvider.js.map +1 -1
- package/dist/localization/localize.d.ts +3 -0
- package/dist/localization/localize.js +1 -0
- package/dist/localization/localize.js.map +1 -1
- package/dist/localization/package.nls.cs.json +12 -10
- package/dist/localization/package.nls.de.json +12 -10
- package/dist/localization/package.nls.en-us.json +2 -1
- package/dist/localization/package.nls.es.json +12 -10
- package/dist/localization/package.nls.fr.json +12 -10
- package/dist/localization/package.nls.it.json +12 -10
- package/dist/localization/package.nls.ja.json +12 -10
- package/dist/localization/package.nls.ko.json +12 -10
- package/dist/localization/package.nls.pl.json +12 -10
- package/dist/localization/package.nls.pt-br.json +12 -10
- package/dist/localization/package.nls.qps-ploc.json +12 -10
- package/dist/localization/package.nls.ru.json +12 -10
- package/dist/localization/package.nls.tr.json +12 -10
- package/dist/localization/package.nls.zh-cn.json +12 -10
- package/dist/localization/package.nls.zh-tw.json +12 -10
- package/dist/parser/parser.js +2 -0
- package/dist/parser/parser.js.map +1 -1
- package/dist/parser/tokenizer.d.ts +1 -1
- package/dist/parser/tokenizer.js +9 -5
- package/dist/parser/tokenizer.js.map +1 -1
- package/dist/tests/checker.test.js +34 -13
- package/dist/tests/checker.test.js.map +1 -1
- package/dist/tests/completions.test.js +39 -2
- package/dist/tests/completions.test.js.map +1 -1
- package/dist/tests/docStringConversion.test.js +23 -0
- package/dist/tests/docStringConversion.test.js.map +1 -1
- package/dist/tests/typeEvaluator1.test.js +4 -0
- package/dist/tests/typeEvaluator1.test.js.map +1 -1
- package/dist/tests/typeEvaluator2.test.js +4 -0
- package/dist/tests/typeEvaluator2.test.js.map +1 -1
- package/dist/tests/typeEvaluator3.test.js +14 -20
- package/dist/tests/typeEvaluator3.test.js.map +1 -1
- package/dist/tests/typeEvaluator4.test.js +12 -0
- package/dist/tests/typeEvaluator4.test.js.map +1 -1
- package/dist/tests/typeEvaluator5.test.js +24 -0
- package/dist/tests/typeEvaluator5.test.js.map +1 -1
- package/dist/workspaceFactory.d.ts +1 -1
- package/dist/workspaceFactory.js +3 -3
- package/dist/workspaceFactory.js.map +1 -1
- package/package.json +1 -1
@@ -78,7 +78,7 @@
|
|
78
78
|
"comparisonAlwaysTrue": "La condition prend toujours la valeur True, car les types « {leftType} » et « {rightType} » ne se chevauchent pas",
|
79
79
|
"comprehensionInDict": "La compréhension ne peut pas être utilisée avec d’autres entrées de dictionnaire",
|
80
80
|
"comprehensionInSet": "La compréhension ne peut pas être utilisée avec d'autres entrées définies",
|
81
|
-
"concatenateParamSpecMissing": "
|
81
|
+
"concatenateParamSpecMissing": "Last type argument for \"Concatenate\" must be a ParamSpec or \"...\"",
|
82
82
|
"concatenateTypeArgsMissing": "\"Concaténation\" nécessite au moins deux arguments de type",
|
83
83
|
"conditionalOperandInvalid": "Opérande conditionnel non valide de type \"{type}\"",
|
84
84
|
"constantRedefinition": "\"{nom}\" est constant (car il est en majuscule) et ne peut pas être redéfini",
|
@@ -130,8 +130,8 @@
|
|
130
130
|
"duplicateStarPattern": "Un seul motif \"*\" autorisé dans une séquence de motifs",
|
131
131
|
"duplicateStarStarPattern": "Une seule entrée \"**\" autorisée",
|
132
132
|
"duplicateUnpack": "Une seule opération de décompression autorisée dans la liste",
|
133
|
-
"ellipsisContext": "\"...\"
|
134
|
-
"ellipsisSecondArg": "
|
133
|
+
"ellipsisContext": "\"...\" is not allowed in this context",
|
134
|
+
"ellipsisSecondArg": "\"...\" is allowed only as the second of two arguments",
|
135
135
|
"enumClassOverride": "La classe Enum « {name} » est finale et ne peut pas être sous-classée",
|
136
136
|
"exceptionGroupIncompatible": "La syntaxe du groupe d’exceptions (« except* ») nécessite Python 3.11 ou version ultérieure",
|
137
137
|
"exceptionTypeIncorrect": "\"{type}\" ne dérive pas de BaseException",
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"expectedTypeParameterName": "Nom de paramètre de type attendu",
|
186
186
|
"expectedYieldExpr": "Expression attendue dans l'instruction yield",
|
187
187
|
"finalClassIsAbstract": "La classe « {type} » est marquée comme finale et doit implémenter toutes les méthodes abstraites",
|
188
|
-
"finalContext": "
|
188
|
+
"finalContext": "\"Final\" is not allowed in this context",
|
189
189
|
"finalMethodOverride": "La méthode « {name} » ne peut pas remplacer la méthode finale définie dans la classe « {className} »",
|
190
190
|
"finalReassigned": "\"{name}\" est déclaré final et ne peut pas être réaffecté",
|
191
191
|
"finalRedeclaration": "« {name} » a été déclaré comme final",
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"paramSpecArgsMissing": "Les arguments pour ParamSpec « {type} » sont manquants",
|
336
336
|
"paramSpecArgsUsage": "Le membre \"args\" de ParamSpec n'est valide que lorsqu'il est utilisé avec le paramètre *args",
|
337
337
|
"paramSpecAssignedName": "ParamSpec doit être affecté à une variable nommée « {name} »",
|
338
|
-
"paramSpecContext": "ParamSpec
|
338
|
+
"paramSpecContext": "ParamSpec is not allowed in this context",
|
339
339
|
"paramSpecDefaultNotTuple": "Points de suspension attendus, expression de tuple ou ParamSpec pour la valeur par défaut de ParamSpec",
|
340
340
|
"paramSpecFirstArg": "Nom attendu de ParamSpec comme premier argument",
|
341
341
|
"paramSpecKwargsUsage": "Le membre « configurrgs » de ParamSpec n’est valide qu’en cas d’utilisation avec le paramètre **rgs",
|
@@ -449,6 +449,7 @@
|
|
449
449
|
"typeArgsTooFew": "Trop peu d’arguments de type fournis pour « {name} » ; {expected} attendu, mais {received} reçu",
|
450
450
|
"typeArgsTooMany": "Trop d'arguments de type fournis pour \"{name}\" ; attendu {attendu} mais reçu {reçu}",
|
451
451
|
"typeAssignmentMismatch": "Impossible d’affecter l’expression de type « {sourceType} » au type déclaré « {destType} »",
|
452
|
+
"typeAssignmentMismatchWildcard": "Import symbol \"{name}\" has type \"{sourceType}\", which cannot be assigned to declared type \"{destType}\"",
|
452
453
|
"typeCallNotAllowed": "l’appel type() ne doit pas être utilisé dans l’annotation de type",
|
453
454
|
"typeCommentDeprecated": "L’utilisation de commentaires de type est déconseillée ; utiliser l’annotation de type à la place",
|
454
455
|
"typeExpectedClass": "Expression de type attendue mais « {type} » reçue",
|
@@ -488,7 +489,7 @@
|
|
488
489
|
"typeVarPossiblyUnsolvable": "La variable de type \"{name}\" peut rester non résolue si l'appelant ne fournit aucun argument pour le paramètre \"{param}\"",
|
489
490
|
"typeVarScopedToReturnType": "La variable de type \"{name}\" est limitée à un appelable dans le type de retour et ne peut pas être référencée dans le corps de la fonction",
|
490
491
|
"typeVarSingleConstraint": "TypeVar doit avoir au moins deux types contraints",
|
491
|
-
"typeVarTupleContext": "TypeVarTuple
|
492
|
+
"typeVarTupleContext": "TypeVarTuple is not allowed in this context",
|
492
493
|
"typeVarTupleDefaultNotUnpacked": "Le type par défaut TypeVarTuple doit être un tuple décompressé ou TypeVarTuple",
|
493
494
|
"typeVarTupleMustBeUnpacked": "L'opérateur Unpack est requis pour la valeur TypeVarTuple",
|
494
495
|
"typeVarTupleUnknownParam": "« {name} » est un paramètre inconnu de TypeVarTuple",
|
@@ -545,8 +546,8 @@
|
|
545
546
|
"unpackInAnnotation": "Opérateur de décompression non autorisé dans l’annotation de type",
|
546
547
|
"unpackInDict": "Opération de décompression non autorisée dans les dictionnaires",
|
547
548
|
"unpackInSet": "Opérateur de déballage non autorisé dans un ensemble",
|
548
|
-
"unpackNotAllowed": "
|
549
|
-
"unpackOperatorNotAllowed": "
|
549
|
+
"unpackNotAllowed": "Unpack is not allowed in this context",
|
550
|
+
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
550
551
|
"unpackTuplesIllegal": "Opération de décompression non autorisée dans les tuples avant Python 3.8",
|
551
552
|
"unpackedArgInTypeArgument": "Les arguments décompressés ne peuvent pas être utilisés dans les listes d’arguments de type",
|
552
553
|
"unpackedArgWithVariadicParam": "L'argument décompressé ne peut pas être utilisé pour le paramètre TypeVarTuple",
|
@@ -567,7 +568,7 @@
|
|
567
568
|
"variadicTypeParamTooManyAlias": "L’alias de type peut avoir au plus un paramètre de type TypeVarTuple, mais a reçu plusieurs ({names})",
|
568
569
|
"variadicTypeParamTooManyClass": "La classe générique peut avoir au plus un paramètre de type TypeVarTuple, mais en a reçu plusieurs ({names})",
|
569
570
|
"walrusIllegal": "L’opérateur « := » nécessite Python 3.8 ou version ultérieure",
|
570
|
-
"walrusNotAllowed": "
|
571
|
+
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
571
572
|
"wildcardInFunction": "Importation de caractères génériques non autorisée dans une classe ou une fonction",
|
572
573
|
"wildcardLibraryImport": "Importation de caractères génériques à partir d'une bibliothèque non autorisée",
|
573
574
|
"wildcardPatternTypePartiallyUnknown": "Le type capturé par le modèle générique est partiellement inconnu",
|
@@ -577,7 +578,7 @@
|
|
577
578
|
"yieldOutsideFunction": "\"rendement\" non autorisé en dehors d'une fonction ou d'un lambda",
|
578
579
|
"yieldWithinListCompr": "« yield » non autorisé dans une compréhension de liste",
|
579
580
|
"zeroCaseStatementsFound": "L'instruction de correspondance doit inclure au moins une instruction case",
|
580
|
-
"zeroLengthTupleNotAllowed": "
|
581
|
+
"zeroLengthTupleNotAllowed": "Zero-length tuple is not allowed in this context"
|
581
582
|
},
|
582
583
|
"DiagnosticAddendum": {
|
583
584
|
"argParam": "L’argument correspond au paramètre « {paramName} »",
|
@@ -620,6 +621,7 @@
|
|
620
621
|
"memberIsInitVar": "Le membre « {name} » est un champ d’initialisation uniquement",
|
621
622
|
"memberIsInvariant": "« {name} » est invariant, car il est mutable",
|
622
623
|
"memberIsNotFinalInProtocol": "\"{name}\" n'est pas marqué Final dans le protocole",
|
624
|
+
"memberIsWritableInProtocol": "\"{name}\" is writable in protocol",
|
623
625
|
"memberSetClassVar": "Le membre \"{name}\" ne peut pas être attribué via une instance de classe car il s'agit d'une ClassVar",
|
624
626
|
"memberTypeMismatch": "« {name} » est un type incompatible",
|
625
627
|
"memberUnknown": "Le membre « {name} » est inconnu",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"comparisonAlwaysTrue": "La condizione restituisce sempre True perché i tipi \"{leftType}\" e \"{rightType}\" non si sovrappongono",
|
79
79
|
"comprehensionInDict": "Non è possibile usare la comprensione con altre voci del dizionario",
|
80
80
|
"comprehensionInSet": "Non è possibile usare la comprensione con altre voci del set",
|
81
|
-
"concatenateParamSpecMissing": "
|
81
|
+
"concatenateParamSpecMissing": "Last type argument for \"Concatenate\" must be a ParamSpec or \"...\"",
|
82
82
|
"concatenateTypeArgsMissing": "\"Concatena\" richiede almeno due argomenti tipo",
|
83
83
|
"conditionalOperandInvalid": "Operando condizionale non valido di tipo \"{type}\"",
|
84
84
|
"constantRedefinition": "\"{name}\" è costante (perché è in maiuscolo) e non può essere ridefinita",
|
@@ -130,8 +130,8 @@
|
|
130
130
|
"duplicateStarPattern": "In una sequenza di criteri è consentito un solo criterio \"*\"",
|
131
131
|
"duplicateStarStarPattern": "È consentita una sola voce \"**\"",
|
132
132
|
"duplicateUnpack": "Nell'elenco è consentita una sola operazione di decompressione",
|
133
|
-
"ellipsisContext": "\"...\"
|
134
|
-
"ellipsisSecondArg": "\"...\"
|
133
|
+
"ellipsisContext": "\"...\" is not allowed in this context",
|
134
|
+
"ellipsisSecondArg": "\"...\" is allowed only as the second of two arguments",
|
135
135
|
"enumClassOverride": "La classe di enumerazione \"{name}\" è finale e non può essere sottoclassata",
|
136
136
|
"exceptionGroupIncompatible": "La sintassi del gruppo di eccezioni (\"except*\") richiede Python 3.11 o versione successiva",
|
137
137
|
"exceptionTypeIncorrect": "\"{type}\" non deriva da BaseException",
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"expectedTypeParameterName": "Nome del parametro del tipo previsto",
|
186
186
|
"expectedYieldExpr": "Espressione prevista nell'istruzione yield",
|
187
187
|
"finalClassIsAbstract": "La classe \"{type}\" è contrassegnata come finale e deve implementare tutti i metodi astratti",
|
188
|
-
"finalContext": "\"Final\"
|
188
|
+
"finalContext": "\"Final\" is not allowed in this context",
|
189
189
|
"finalMethodOverride": "Il metodo \"{name}\" non può eseguire l'override del metodo finale definito nella classe \"{className}\"",
|
190
190
|
"finalReassigned": "\"{name}\" è dichiarato come Finale e non può essere riassegnato",
|
191
191
|
"finalRedeclaration": "\"{name}\" è stato dichiarato in precedenza come Finale",
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"paramSpecArgsMissing": "Gli argomenti per ParamSpec \"{type}\" sono mancanti",
|
336
336
|
"paramSpecArgsUsage": "Il membro \"args\" di ParamSpec è valido solo se usato con il parametro *args",
|
337
337
|
"paramSpecAssignedName": "ParamSpec deve essere assegnato a una variabile denominata \"{name}\"",
|
338
|
-
"paramSpecContext": "ParamSpec
|
338
|
+
"paramSpecContext": "ParamSpec is not allowed in this context",
|
339
339
|
"paramSpecDefaultNotTuple": "Sono previsti puntini di sospensione, un'espressione di tupla o ParamSpec per il valore predefinito di ParamSpec",
|
340
340
|
"paramSpecFirstArg": "Nome previsto di ParamSpec come primo argomento",
|
341
341
|
"paramSpecKwargsUsage": "Il membro \"kwargs\" di ParamSpec è valido solo se usato con il parametro **kwargs",
|
@@ -449,6 +449,7 @@
|
|
449
449
|
"typeArgsTooFew": "Troppo pochi argomenti tipo forniti per \"{name}\"; previsto {expected} ma ricevuto {received}",
|
450
450
|
"typeArgsTooMany": "Troppi argomenti tipo forniti per \"{name}\"; previsto {expected} ma ricevuto {received}",
|
451
451
|
"typeAssignmentMismatch": "Impossibile assegnare l'espressione di tipo \"{sourceType}\" al tipo dichiarato \"{destType}\"",
|
452
|
+
"typeAssignmentMismatchWildcard": "Import symbol \"{name}\" has type \"{sourceType}\", which cannot be assigned to declared type \"{destType}\"",
|
452
453
|
"typeCallNotAllowed": "la chiamata type() non deve essere usata nell'annotazione di tipo",
|
453
454
|
"typeCommentDeprecated": "L'uso dei commenti di tipo è deprecato. Usare l'annotazione di tipo",
|
454
455
|
"typeExpectedClass": "È prevista un'espressione di tipo ma è stato ricevuto \"{type}\"",
|
@@ -488,7 +489,7 @@
|
|
488
489
|
"typeVarPossiblyUnsolvable": "La variabile di tipo \"{name}\" potrebbe non essere risolta se il chiamante non fornisce alcun argomento per il parametro \"{param}\"",
|
489
490
|
"typeVarScopedToReturnType": "La variabile di tipo \"{name}\" ha come ambito un elemento richiamabile all'interno del tipo restituito e non può essere usato come riferimento nel corpo della funzione",
|
490
491
|
"typeVarSingleConstraint": "TypeVar deve contenere almeno due tipi vincolati",
|
491
|
-
"typeVarTupleContext": "TypeVarTuple
|
492
|
+
"typeVarTupleContext": "TypeVarTuple is not allowed in this context",
|
492
493
|
"typeVarTupleDefaultNotUnpacked": "Il tipo predefinito TypeVarTuple deve essere una tupla non compressa o TypeVarTuple",
|
493
494
|
"typeVarTupleMustBeUnpacked": "L'operatore Decomprimi è obbligatorio per il valore TypeVarTuple",
|
494
495
|
"typeVarTupleUnknownParam": "\"{name}\" è un parametro sconosciuto per TypeVar",
|
@@ -545,8 +546,8 @@
|
|
545
546
|
"unpackInAnnotation": "Operatore di decompressione non consentito nell'annotazione di tipo",
|
546
547
|
"unpackInDict": "Operazione di decompressione non consentita nei dizionari",
|
547
548
|
"unpackInSet": "Operatore di decompressione non consentito all’interno di un set",
|
548
|
-
"unpackNotAllowed": "
|
549
|
-
"unpackOperatorNotAllowed": "
|
549
|
+
"unpackNotAllowed": "Unpack is not allowed in this context",
|
550
|
+
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
550
551
|
"unpackTuplesIllegal": "L'operazione di decompressione non è consentita nelle tuple precedenti a Python 3.8",
|
551
552
|
"unpackedArgInTypeArgument": "Gli argomenti non compressi non possono essere usati negli elenchi di argomenti tipo",
|
552
553
|
"unpackedArgWithVariadicParam": "Non è possibile usare l'argomento decompresso per il parametro TypeVarTuple",
|
@@ -567,7 +568,7 @@
|
|
567
568
|
"variadicTypeParamTooManyAlias": "L'alias di tipo può avere al massimo un parametro di tipo TypeVarTuple, ma ne ha ricevuti più ({names})",
|
568
569
|
"variadicTypeParamTooManyClass": "La classe generica può avere al massimo un parametro di tipo TypeVarTuple, ma ne ha ricevuti più ({names})",
|
569
570
|
"walrusIllegal": "L'operatore \":=\" richiede Python 3.8 o versione successiva",
|
570
|
-
"walrusNotAllowed": "
|
571
|
+
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
571
572
|
"wildcardInFunction": "Importazione di caratteri jolly non consentita all'interno di una classe o di una funzione",
|
572
573
|
"wildcardLibraryImport": "Importazione di caratteri jolly da una libreria non consentita",
|
573
574
|
"wildcardPatternTypePartiallyUnknown": "Il tipo acquisito dal modello con caratteri jolly è parzialmente sconosciuto",
|
@@ -577,7 +578,7 @@
|
|
577
578
|
"yieldOutsideFunction": "\"yield\" non consentito all'esterno di una funzione o di un'espressione lambda",
|
578
579
|
"yieldWithinListCompr": "\"yield\" non consentito all'interno di una comprensione di elenco",
|
579
580
|
"zeroCaseStatementsFound": "L’istruzione Match deve includere almeno un’istruzione case",
|
580
|
-
"zeroLengthTupleNotAllowed": "
|
581
|
+
"zeroLengthTupleNotAllowed": "Zero-length tuple is not allowed in this context"
|
581
582
|
},
|
582
583
|
"DiagnosticAddendum": {
|
583
584
|
"argParam": "L'argomento corrisponde al parametro \"{paramName}\"",
|
@@ -620,6 +621,7 @@
|
|
620
621
|
"memberIsInitVar": "Il membro \"{name}\" è un campo solo init",
|
621
622
|
"memberIsInvariant": "\"{name}\" è invariante perché modificabile",
|
622
623
|
"memberIsNotFinalInProtocol": "\"{name}\" non è contrassegnato come Finale nel protocollo",
|
624
|
+
"memberIsWritableInProtocol": "\"{name}\" is writable in protocol",
|
623
625
|
"memberSetClassVar": "Non è possibile assegnare il membro \"{name}\" tramite un'istanza di classe perché è una ClassVar",
|
624
626
|
"memberTypeMismatch": "\"{name}\" è un tipo non compatibile",
|
625
627
|
"memberUnknown": "Il membro \"{name}\" è sconosciuto",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"comparisonAlwaysTrue": "型 \"{leftType}\" と \"{rightType}\" に重複がないため、条件は常に True に評価されます",
|
79
79
|
"comprehensionInDict": "他の辞書エントリと共に理解することはできません",
|
80
80
|
"comprehensionInSet": "他のセット エントリと共に理解を使用することはできません",
|
81
|
-
"concatenateParamSpecMissing": "\"Concatenate\"
|
81
|
+
"concatenateParamSpecMissing": "Last type argument for \"Concatenate\" must be a ParamSpec or \"...\"",
|
82
82
|
"concatenateTypeArgsMissing": "\"連結\" には少なくとも 2 つの型引数が必要です",
|
83
83
|
"conditionalOperandInvalid": "型 \"{type}\" の条件オペランドが無効です",
|
84
84
|
"constantRedefinition": "\"{name}\" は定数であり (大文字であるため)、再定義できません",
|
@@ -130,8 +130,8 @@
|
|
130
130
|
"duplicateStarPattern": "パターン シーケンスで使用できる \"*\" パターンは 1 つだけです",
|
131
131
|
"duplicateStarStarPattern": "許可されている \"**\" エントリは 1 つだけです",
|
132
132
|
"duplicateUnpack": "リストで許可されているアンパック操作は 1 つだけです",
|
133
|
-
"ellipsisContext": "\"...\"
|
134
|
-
"ellipsisSecondArg": "\"...\"
|
133
|
+
"ellipsisContext": "\"...\" is not allowed in this context",
|
134
|
+
"ellipsisSecondArg": "\"...\" is allowed only as the second of two arguments",
|
135
135
|
"enumClassOverride": "列挙型クラス \"{name}\" は最終的なクラスであり、サブクラス化できません",
|
136
136
|
"exceptionGroupIncompatible": "例外グループの構文 (\"except*\") には Python 3.11 以降が必要です",
|
137
137
|
"exceptionTypeIncorrect": "\"{type}\" は BaseException から派生していません",
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"expectedTypeParameterName": "必要な型パラメーター名",
|
186
186
|
"expectedYieldExpr": "yield ステートメントで必要な式",
|
187
187
|
"finalClassIsAbstract": "クラス \"{type}\" は final とマークされており、すべての抽象メソッドを実装する必要があります",
|
188
|
-
"finalContext": "
|
188
|
+
"finalContext": "\"Final\" is not allowed in this context",
|
189
189
|
"finalMethodOverride": "メソッド \"{name}\" は、クラス \"{className}\" で定義されている最終的なメソッドをオーバーライドできません",
|
190
190
|
"finalReassigned": "\"{name}\" は Final として宣言されており、再割り当てできません",
|
191
191
|
"finalRedeclaration": "\"{name}\" は以前に Final として宣言されました",
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"paramSpecArgsMissing": "ParamSpec \"{type}\" の引数がありません",
|
336
336
|
"paramSpecArgsUsage": "ParamSpec の \"args\" メンバーは、*args パラメーターと共に使用する場合にのみ有効です",
|
337
337
|
"paramSpecAssignedName": "ParamSpec は 、\"{name}\" という名前の変数に割り当てる必要があります",
|
338
|
-
"paramSpecContext": "ParamSpec
|
338
|
+
"paramSpecContext": "ParamSpec is not allowed in this context",
|
339
339
|
"paramSpecDefaultNotTuple": "ParamSpec の既定値には、省略記号、タプル式、または ParamSpec が必要です",
|
340
340
|
"paramSpecFirstArg": "最初の引数として ParamSpec の名前が必要です",
|
341
341
|
"paramSpecKwargsUsage": "ParamSpec の \"kwargs\" メンバーは、**kwargs パラメーターと共に使用する場合にのみ有効です",
|
@@ -449,6 +449,7 @@
|
|
449
449
|
"typeArgsTooFew": "\"{name}\" に指定された型引数が少なすぎます。{expected} が必要ですが、{received} を受信しました",
|
450
450
|
"typeArgsTooMany": "\"{name}\" に指定された型引数が多すぎます。{expected} が必要ですが、{received} を受信しました",
|
451
451
|
"typeAssignmentMismatch": "型 \"{sourceType}\" の式を宣言された型 \"{destType}\" に割り当てることはできません",
|
452
|
+
"typeAssignmentMismatchWildcard": "Import symbol \"{name}\" has type \"{sourceType}\", which cannot be assigned to declared type \"{destType}\"",
|
452
453
|
"typeCallNotAllowed": "type() 呼び出しは型注釈で使用しないでください",
|
453
454
|
"typeCommentDeprecated": "型コメントの使用は非推奨です。代わりに型注釈を使用してください",
|
454
455
|
"typeExpectedClass": "型式が必要ですが、\"{type}\" を受け取りました",
|
@@ -488,7 +489,7 @@
|
|
488
489
|
"typeVarPossiblyUnsolvable": "呼び出し元がパラメーター \"{param}\" に引数を指定しない場合、型変数 \"{name}\" は解決されない可能性があります",
|
489
490
|
"typeVarScopedToReturnType": "型変数 \"{name}\" のスコープは戻り値の型内の呼び出し可能な変数であり、関数本体では参照できません",
|
490
491
|
"typeVarSingleConstraint": "TypeVar には少なくとも 2 つの制約付き型が必要です",
|
491
|
-
"typeVarTupleContext": "TypeVarTuple
|
492
|
+
"typeVarTupleContext": "TypeVarTuple is not allowed in this context",
|
492
493
|
"typeVarTupleDefaultNotUnpacked": "TypeVarTuple の既定の型は、アンパックされたタプルまたは TypeVarTuple である必要があります",
|
493
494
|
"typeVarTupleMustBeUnpacked": "TypeVarTuple 値にはアンパック演算子が必要です",
|
494
495
|
"typeVarTupleUnknownParam": "\"{name}\" は TypeVarTuple に対する不明なパラメーターです",
|
@@ -545,8 +546,8 @@
|
|
545
546
|
"unpackInAnnotation": "型注釈ではアンパック演算子は使用できません",
|
546
547
|
"unpackInDict": "アンパック操作はディクショナリで許可されていません",
|
547
548
|
"unpackInSet": "アンパック演算子はセット内では使用できません",
|
548
|
-
"unpackNotAllowed": "
|
549
|
-
"unpackOperatorNotAllowed": "
|
549
|
+
"unpackNotAllowed": "Unpack is not allowed in this context",
|
550
|
+
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
550
551
|
"unpackTuplesIllegal": "Python 3.8 より前のタプルではアンパック操作は許可されていません",
|
551
552
|
"unpackedArgInTypeArgument": "アンパックされた引数は、型引数リストでは使用できません",
|
552
553
|
"unpackedArgWithVariadicParam": "アンパックされた引数は TypeVarTuple パラメーターには使用できません",
|
@@ -567,7 +568,7 @@
|
|
567
568
|
"variadicTypeParamTooManyAlias": "型エイリアスには TypeVarTuple 型パラメーターを最大 1 つ含めることができますが、複数の ({names}) を受け取りました",
|
568
569
|
"variadicTypeParamTooManyClass": "ジェネリック クラスには最大 1 つの TypeVarTuple 型パラメーターを指定できますが、複数の ({names}) を受け取りました",
|
569
570
|
"walrusIllegal": "演算子 \":=\" には Python 3.8 以降が必要です",
|
570
|
-
"walrusNotAllowed": "
|
571
|
+
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
571
572
|
"wildcardInFunction": "ワイルドカードのインポートは、クラスまたは関数内では許可されていません",
|
572
573
|
"wildcardLibraryImport": "ライブラリからのワイルドカードインポートは許可されていません",
|
573
574
|
"wildcardPatternTypePartiallyUnknown": "ワイルドカード パターンによってキャプチャされた型は部分的に不明です",
|
@@ -577,7 +578,7 @@
|
|
577
578
|
"yieldOutsideFunction": "関数またはラムダの外部では \"yield\" は許可されません",
|
578
579
|
"yieldWithinListCompr": "\"yield\" はリスト理解内では使用できません",
|
579
580
|
"zeroCaseStatementsFound": "Match ステートメントには、少なくとも 1 つの case ステートメントを含める必要があります",
|
580
|
-
"zeroLengthTupleNotAllowed": "
|
581
|
+
"zeroLengthTupleNotAllowed": "Zero-length tuple is not allowed in this context"
|
581
582
|
},
|
582
583
|
"DiagnosticAddendum": {
|
583
584
|
"argParam": "引数はパラメーター \"{paramName}\" に対応します",
|
@@ -620,6 +621,7 @@
|
|
620
621
|
"memberIsInitVar": "メンバー \"{name}\" は init 専用フィールドです",
|
621
622
|
"memberIsInvariant": "\"{name}\" は変更可能であるため、不変です",
|
622
623
|
"memberIsNotFinalInProtocol": "\"{name}\" はプロトコルで Final としてマークされていません",
|
624
|
+
"memberIsWritableInProtocol": "\"{name}\" is writable in protocol",
|
623
625
|
"memberSetClassVar": "メンバー \"{name}\" は ClassVar であるため、クラス インスタンスを介して割り当てることはできません",
|
624
626
|
"memberTypeMismatch": "\"{name}\" は互換性のない型です",
|
625
627
|
"memberUnknown": "メンバー \"{name}\" が不明です",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"comparisonAlwaysTrue": "\"{leftType}\" 및 \"{rightType}\" 형식이 겹치지 않으므로 조건은 항상 True로 평가됩니다.",
|
79
79
|
"comprehensionInDict": "이해력은 다른 사전 항목과 함께 사용할 수 없습니다.",
|
80
80
|
"comprehensionInSet": "이해력은 다른 집합 항목과 함께 사용할 수 없습니다.",
|
81
|
-
"concatenateParamSpecMissing": "\"Concatenate\"
|
81
|
+
"concatenateParamSpecMissing": "Last type argument for \"Concatenate\" must be a ParamSpec or \"...\"",
|
82
82
|
"concatenateTypeArgsMissing": "‘연결’에는 적어도 두 개의 형식 인수가 필요합니다.",
|
83
83
|
"conditionalOperandInvalid": "’{type}’ 형식의 조건부 피연산자입니다.",
|
84
84
|
"constantRedefinition": "‘{name}’은(는) 대문자이므로 상수이고 다시 정의할 수 없습니다.",
|
@@ -130,8 +130,8 @@
|
|
130
130
|
"duplicateStarPattern": "패턴 시퀀스에는 ‘*’ 패턴을 하나만 사용할 수 있습니다.",
|
131
131
|
"duplicateStarStarPattern": "‘**’ 항목 하나만 허용됩니다.",
|
132
132
|
"duplicateUnpack": "목록에서는 한 개의 압축 풀기 작업만 허용됩니다.",
|
133
|
-
"ellipsisContext": "
|
134
|
-
"ellipsisSecondArg": "\"...\"
|
133
|
+
"ellipsisContext": "\"...\" is not allowed in this context",
|
134
|
+
"ellipsisSecondArg": "\"...\" is allowed only as the second of two arguments",
|
135
135
|
"enumClassOverride": "열거형 클래스 \"{name}\"은(는) 최종 클래스이며 서브클래스할 수 없습니다.",
|
136
136
|
"exceptionGroupIncompatible": "예외 그룹 구문(\"except*\")에는 Python 3.11 이상이 필요합니다.",
|
137
137
|
"exceptionTypeIncorrect": "‘{type}’은 BaseException에서 파생되지 않습니다.",
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"expectedTypeParameterName": "형식 매개 변수 이름이 필요합니다.",
|
186
186
|
"expectedYieldExpr": "yield 문에 식이 필요합니다.",
|
187
187
|
"finalClassIsAbstract": "클래스 \"{type}\"이(가) final로 표시되어 있으며 모든 추상 메서드를 구현해야 합니다.",
|
188
|
-
"finalContext": "
|
188
|
+
"finalContext": "\"Final\" is not allowed in this context",
|
189
189
|
"finalMethodOverride": "\"{name}\" 메서드는 \"{className}\" 클래스에 정의된 최종 메서드를 재정의할 수 없습니다.",
|
190
190
|
"finalReassigned": "‘{name}’이 Final로 선언되었으므로 다시 할당할 수 없습니다.",
|
191
191
|
"finalRedeclaration": "\"{name}\"이(가) 이전에 Final로 선언되었습니다.",
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"paramSpecArgsMissing": "ParamSpec \"{type}\"에 대한 인수가 없습니다.",
|
336
336
|
"paramSpecArgsUsage": "ParamSpec의 ‘args’ 멤버는 *args 매개 변수와 함께 사용할 경우에만 유효합니다.",
|
337
337
|
"paramSpecAssignedName": "ParamSpec을 \"{name}\"이라는 변수에 할당해야 합니다.",
|
338
|
-
"paramSpecContext": "
|
338
|
+
"paramSpecContext": "ParamSpec is not allowed in this context",
|
339
339
|
"paramSpecDefaultNotTuple": "ParamSpec의 기본값에는 줄임표, 튜플 식 또는 ParamSpec이 필요합니다.",
|
340
340
|
"paramSpecFirstArg": "첫 번째 인수로 ParamSpec의 이름이 필요합니다.",
|
341
341
|
"paramSpecKwargsUsage": "ParamSpec의 \"kwargs\" 멤버는 **kwargs 매개 변수와 함께 사용할 때만 유효합니다.",
|
@@ -449,6 +449,7 @@
|
|
449
449
|
"typeArgsTooFew": "\"{name}\"에 대해 제공된 형식 인수가 너무 적습니다. {expected}이(가) 필요하지만 {received}을(를) 받았습니다.",
|
450
450
|
"typeArgsTooMany": "‘{name}’에 대한 형식 인수가 너무 많습니다. {expected}이(가) 필요하지만 {received}을(를) 받았습니다.",
|
451
451
|
"typeAssignmentMismatch": "\"{sourceType}\" 형식의 식을 선언된 형식 \"{destType}\"에 할당할 수 없습니다.",
|
452
|
+
"typeAssignmentMismatchWildcard": "Import symbol \"{name}\" has type \"{sourceType}\", which cannot be assigned to declared type \"{destType}\"",
|
452
453
|
"typeCallNotAllowed": "type() 호출은 형식 주석에 사용하면 안 됩니다.",
|
453
454
|
"typeCommentDeprecated": "형식 주석의 사용은 더 이상 사용되지 않습니다. 대신 형식 주석 사용",
|
454
455
|
"typeExpectedClass": "형식 식이 필요하지만 \"{type}\"을(를) 받았습니다.",
|
@@ -488,7 +489,7 @@
|
|
488
489
|
"typeVarPossiblyUnsolvable": "호출자가 ‘{param}’ 매개 변수에 대한 인수를 제공하지 않으면 ‘{name}’ 형식 변수가 확인되지 않을 수 있습니다.",
|
489
490
|
"typeVarScopedToReturnType": "‘{name}’ 형식 변수는 반환 형식 내에서 호출 가능으로 범위가 지정되며 함수 본문에서 참조할 수 없습니다.",
|
490
491
|
"typeVarSingleConstraint": "TypeVar에는 두 개 이상의 제한된 형식이 있어야 합니다.",
|
491
|
-
"typeVarTupleContext": "
|
492
|
+
"typeVarTupleContext": "TypeVarTuple is not allowed in this context",
|
492
493
|
"typeVarTupleDefaultNotUnpacked": "TypeVarTuple 기본 형식은 압축을 푼 튜플 또는 TypeVarTuple이어야 합니다.",
|
493
494
|
"typeVarTupleMustBeUnpacked": "TypeVarTuple 값에는 압축 풀기 연산자가 필요합니다.",
|
494
495
|
"typeVarTupleUnknownParam": "\"{name}\"은(는) TypeVarTuple에 대한 알 수 없는 매개 변수입니다.",
|
@@ -545,8 +546,8 @@
|
|
545
546
|
"unpackInAnnotation": "형식 주석에는 압축 풀기 연산자를 사용할 수 없습니다.",
|
546
547
|
"unpackInDict": "사전에서 압축 풀기 작업이 허용되지 않음",
|
547
548
|
"unpackInSet": "집합 내에서는 압축 풀기 연산자를 사용할 수 없습니다.",
|
548
|
-
"unpackNotAllowed": "
|
549
|
-
"unpackOperatorNotAllowed": "
|
549
|
+
"unpackNotAllowed": "Unpack is not allowed in this context",
|
550
|
+
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
550
551
|
"unpackTuplesIllegal": "Python 3.8 이전의 튜플에서는 압축 풀기 작업이 허용되지 않습니다.",
|
551
552
|
"unpackedArgInTypeArgument": "압축되지 않은 인수는 형식 인수 목록에 사용할 수 없습니다.",
|
552
553
|
"unpackedArgWithVariadicParam": "압축을 푼 인수는 TypeVarTuple 매개 변수에 사용할 수 없습니다.",
|
@@ -567,7 +568,7 @@
|
|
567
568
|
"variadicTypeParamTooManyAlias": "형식 별칭에는 TypeVarTuple 형식 매개 변수가 최대 하나만 있을 수 있지만 여러 ({names})가 수신되었습니다.",
|
568
569
|
"variadicTypeParamTooManyClass": "제네릭 클래스에는 TypeVarTuple 형식 매개 변수가 하나만 있을 수 있지만 여러 ({names})을(를) 받았습니다.",
|
569
570
|
"walrusIllegal": "연산자 \":=\"에는 Python 3.8 이상이 필요합니다.",
|
570
|
-
"walrusNotAllowed": "
|
571
|
+
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
571
572
|
"wildcardInFunction": "클래스 또는 함수 내에서 와일드카드 가져오기가 허용되지 않음",
|
572
573
|
"wildcardLibraryImport": "라이브러리에서 와일드카드를 가져오는 것은 허용되지 않습니다.",
|
573
574
|
"wildcardPatternTypePartiallyUnknown": "와일드카드 패턴으로 캡처된 형식을 부분적으로 알 수 없습니다.",
|
@@ -577,7 +578,7 @@
|
|
577
578
|
"yieldOutsideFunction": "함수 또는 람다 외부에서는 ‘yield’를 사용할 수 없습니다.",
|
578
579
|
"yieldWithinListCompr": "목록 이해 내에서는 \"yield\"를 사용할 수 없습니다.",
|
579
580
|
"zeroCaseStatementsFound": "Match 문에는 Case 문이 하나 이상 포함되어야 합니다.",
|
580
|
-
"zeroLengthTupleNotAllowed": "
|
581
|
+
"zeroLengthTupleNotAllowed": "Zero-length tuple is not allowed in this context"
|
581
582
|
},
|
582
583
|
"DiagnosticAddendum": {
|
583
584
|
"argParam": "인수가 \"{paramName}\" 매개 변수에 해당합니다.",
|
@@ -620,6 +621,7 @@
|
|
620
621
|
"memberIsInitVar": "멤버 \"{name}\"은(는) 초기화 전용 필드입니다.",
|
621
622
|
"memberIsInvariant": "\"{name}\"은(는) 변경 가능하므로 고정되지 않습니다.",
|
622
623
|
"memberIsNotFinalInProtocol": "‘{name}’이(가) 프로토콜에서 최종으로 표시되지 않았습니다.",
|
624
|
+
"memberIsWritableInProtocol": "\"{name}\" is writable in protocol",
|
623
625
|
"memberSetClassVar": "‘{name}’ 멤버는 ClassVar이므로 클래스 인스턴스를 통해 할당할 수 없습니다.",
|
624
626
|
"memberTypeMismatch": "\"{name}\"은(는) 호환되지 않는 형식입니다.",
|
625
627
|
"memberUnknown": "멤버 \"{name}\"을(를) 알 수 없습니다.",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"comparisonAlwaysTrue": "Warunek zawsze będzie miał wartość Prawda, ponieważ typy „{leftType}” i „{rightType}” nie nakładają się",
|
79
79
|
"comprehensionInDict": "Zrozumienia nie można używać z innymi wpisami słownika",
|
80
80
|
"comprehensionInSet": "Nie można używać rozumienia z innymi wpisami zestawu",
|
81
|
-
"concatenateParamSpecMissing": "
|
81
|
+
"concatenateParamSpecMissing": "Last type argument for \"Concatenate\" must be a ParamSpec or \"...\"",
|
82
82
|
"concatenateTypeArgsMissing": "Element „Concatenate” wymaga co najmniej dwóch argumentów typu",
|
83
83
|
"conditionalOperandInvalid": "Nieprawidłowy warunkowy argument operacji typu „{type}”",
|
84
84
|
"constantRedefinition": "Nazwa „{name}” jest stałą (ponieważ jest pisana wielkimi literami) i nie można jej ponownie zdefiniować",
|
@@ -130,8 +130,8 @@
|
|
130
130
|
"duplicateStarPattern": "W sekwencji wzorca dozwolony jest tylko jeden wzorzec „*”",
|
131
131
|
"duplicateStarStarPattern": "Dozwolony jest tylko jeden wpis „**”",
|
132
132
|
"duplicateUnpack": "Na liście dozwolona jest tylko jedna operacja rozpakowywania",
|
133
|
-
"ellipsisContext": "
|
134
|
-
"ellipsisSecondArg": "
|
133
|
+
"ellipsisContext": "\"...\" is not allowed in this context",
|
134
|
+
"ellipsisSecondArg": "\"...\" is allowed only as the second of two arguments",
|
135
135
|
"enumClassOverride": "Klasa wyliczenia „{name}” jest ostateczna i nie można jej podzielić na podklasy",
|
136
136
|
"exceptionGroupIncompatible": "Składnia grupy wyjątków („except*”) wymaga języka Python w wersji 3.11 lub nowszej",
|
137
137
|
"exceptionTypeIncorrect": "Typ „{type}” nie pochodzi od parametru BaseException",
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"expectedTypeParameterName": "Oczekiwano nazwy parametru typu",
|
186
186
|
"expectedYieldExpr": "Oczekiwano wyrażenia w instrukcji wstrzymywania",
|
187
187
|
"finalClassIsAbstract": "Klasa „{type}” jest oznaczona jako końcowa i musi implementować wszystkie metody abstrakcyjne",
|
188
|
-
"finalContext": "
|
188
|
+
"finalContext": "\"Final\" is not allowed in this context",
|
189
189
|
"finalMethodOverride": "Metoda „{name}” nie może przesłonić metody końcowej zdefiniowanej w klasie „{className}”",
|
190
190
|
"finalReassigned": "Element „{name}” jest zadeklarowany jako wersja ostateczna i nie można go ponownie przypisać",
|
191
191
|
"finalRedeclaration": "Nazwa „{name}” została wcześniej zadeklarowana jako końcowa",
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"paramSpecArgsMissing": "Brak argumentów dla parametru ParamSpec „{type}”.",
|
336
336
|
"paramSpecArgsUsage": "Składowa „args” parametru ParamSpec jest ważna tylko wtedy, gdy jest używana z parametrem *args",
|
337
337
|
"paramSpecAssignedName": "Parametr ParamSpec musi być przypisany do zmiennej o nazwie „{name}”",
|
338
|
-
"paramSpecContext": "
|
338
|
+
"paramSpecContext": "ParamSpec is not allowed in this context",
|
339
339
|
"paramSpecDefaultNotTuple": "Oczekiwano wielokropka, wyrażenia krotki lub parametru ParamSpec dla domyślnej wartości ParamSpec",
|
340
340
|
"paramSpecFirstArg": "Oczekiwano nazwy parametru ParamSpec jako pierwszego argumentu",
|
341
341
|
"paramSpecKwargsUsage": "Składowa „kwargs” parametru ParamSpec jest ważna tylko wtedy, gdy jest używana z parametrem **kwargs",
|
@@ -449,6 +449,7 @@
|
|
449
449
|
"typeArgsTooFew": "Podano zbyt mało argumentów typu dla „{name}”; oczekiwano wartości {expected}, ale otrzymano {received}",
|
450
450
|
"typeArgsTooMany": "Podano zbyt wiele argumentów typu dla nazwy „{name}”; oczekiwano {expected}, a uzyskano {received}",
|
451
451
|
"typeAssignmentMismatch": "Wyrażenie typu „{sourceType}” nie może być przypisane do zadeklarowanego typu „{destType}”",
|
452
|
+
"typeAssignmentMismatchWildcard": "Import symbol \"{name}\" has type \"{sourceType}\", which cannot be assigned to declared type \"{destType}\"",
|
452
453
|
"typeCallNotAllowed": "Wywołanie type() nie powinno być używane w adnotacji typu",
|
453
454
|
"typeCommentDeprecated": "Używanie komentarzy typu jest przestarzałe; zamiast tego użyj adnotacji typu",
|
454
455
|
"typeExpectedClass": "Oczekiwano wyrażenia typu, ale otrzymano „{type}”",
|
@@ -488,7 +489,7 @@
|
|
488
489
|
"typeVarPossiblyUnsolvable": "Zmienna typu „{name}” może zostać nierozwiązana, jeśli obiekt wywołujący nie poda argumentu dla parametru „{param}”",
|
489
490
|
"typeVarScopedToReturnType": "Zmienna typu „{name}” jest objęta zakresem możliwości wywołania w typie zwracanym i nie można odwoływać się do niej w treści funkcji",
|
490
491
|
"typeVarSingleConstraint": "Typ TypeVar musi mieć co najmniej dwa typy ograniczone",
|
491
|
-
"typeVarTupleContext": "
|
492
|
+
"typeVarTupleContext": "TypeVarTuple is not allowed in this context",
|
492
493
|
"typeVarTupleDefaultNotUnpacked": "Typ domyślny TypeVarTuple musi być nierozpakowaną krotką lub parametrem TypeVarTuple",
|
493
494
|
"typeVarTupleMustBeUnpacked": "Operator rozpakowywania jest wymagany dla wartości parametru TypeVarTuple",
|
494
495
|
"typeVarTupleUnknownParam": "Nazwa „{name}” jest nieznanym parametrem typu TypeVarTuple",
|
@@ -545,8 +546,8 @@
|
|
545
546
|
"unpackInAnnotation": "Operator rozpakowywania nie jest dozwolony w adnotacji typu",
|
546
547
|
"unpackInDict": "Operacja rozpakowywania nie jest dozwolona w słownikach",
|
547
548
|
"unpackInSet": "Rozpakowywanie operatora jest niedozwolone w zestawie",
|
548
|
-
"unpackNotAllowed": "
|
549
|
-
"unpackOperatorNotAllowed": "
|
549
|
+
"unpackNotAllowed": "Unpack is not allowed in this context",
|
550
|
+
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
550
551
|
"unpackTuplesIllegal": "Operacja rozpakowywania nie jest dozwolona w krotkach przed językiem Python w wersji 3.8",
|
551
552
|
"unpackedArgInTypeArgument": "Rozpakowanych argumentów nie można używać na listach argumentów typu",
|
552
553
|
"unpackedArgWithVariadicParam": "Nie można użyć nierozpakowanego argumentu dla parametru TypeVarTuple",
|
@@ -567,7 +568,7 @@
|
|
567
568
|
"variadicTypeParamTooManyAlias": "Alias typu może mieć co najwyżej jeden parametr typu TypeVarTuple, ale otrzymał wiele ({names})",
|
568
569
|
"variadicTypeParamTooManyClass": "Klasa ogólna może mieć co najwyżej jeden parametr typu TypeVarTuple, ale otrzymał wiele ({names})",
|
569
570
|
"walrusIllegal": "Operator „:=” wymaga języka Python w wersji 3.8 lub nowszej",
|
570
|
-
"walrusNotAllowed": "Operator \":=\"
|
571
|
+
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
571
572
|
"wildcardInFunction": "Importowanie symboli wieloznacznych jest niedozwolone w obrębie klasy lub funkcji",
|
572
573
|
"wildcardLibraryImport": "Importowanie symboli wieloznacznych z biblioteki jest niedozwolone",
|
573
574
|
"wildcardPatternTypePartiallyUnknown": "Typ przechwycony przez wzorzec symboli wieloznacznych jest częściowo nieznany",
|
@@ -577,7 +578,7 @@
|
|
577
578
|
"yieldOutsideFunction": "Instrukcja „yield” jest niedozwolona poza funkcją lub wyrażeniem lambda",
|
578
579
|
"yieldWithinListCompr": "Instrukcja „yield” nie jest dozwolona w rozumieniu listy",
|
579
580
|
"zeroCaseStatementsFound": "Instrukcja dopasowania musi zawierać co najmniej jedną instrukcję dotyczącą wielkości liter",
|
580
|
-
"zeroLengthTupleNotAllowed": "
|
581
|
+
"zeroLengthTupleNotAllowed": "Zero-length tuple is not allowed in this context"
|
581
582
|
},
|
582
583
|
"DiagnosticAddendum": {
|
583
584
|
"argParam": "Argument odpowiada parametrowi „{paramName}”",
|
@@ -620,6 +621,7 @@
|
|
620
621
|
"memberIsInitVar": "Składowa „{name}” jest polem tylko do operacji init",
|
621
622
|
"memberIsInvariant": "Nazwa „{name}” jest niezmienna, ponieważ jest modyfikowalna",
|
622
623
|
"memberIsNotFinalInProtocol": "Element „{name}” nie jest oznaczony jako wersja ostateczna w protokole",
|
624
|
+
"memberIsWritableInProtocol": "\"{name}\" is writable in protocol",
|
623
625
|
"memberSetClassVar": "Nie można przypisać składowej „{name}” przez wystąpienie klasy, ponieważ jest to element ClassVar",
|
624
626
|
"memberTypeMismatch": "Nazwa „{name}” jest niezgodnym typem",
|
625
627
|
"memberUnknown": "Składowa „{name}” jest nieznana",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"comparisonAlwaysTrue": "A condição sempre será avaliada como True, pois os tipos \"{leftType}\" e \"{rightType}\" não têm sobreposição",
|
79
79
|
"comprehensionInDict": "A compreensão não pode ser usada com outras entradas de dicionário",
|
80
80
|
"comprehensionInSet": "A compreensão não pode ser usada com outras entradas definidas",
|
81
|
-
"concatenateParamSpecMissing": "
|
81
|
+
"concatenateParamSpecMissing": "Last type argument for \"Concatenate\" must be a ParamSpec or \"...\"",
|
82
82
|
"concatenateTypeArgsMissing": "\"Concatenate\" requer pelo menos dois argumentos de tipo",
|
83
83
|
"conditionalOperandInvalid": "Operando condicional inválido do tipo \"{type}\"",
|
84
84
|
"constantRedefinition": "\"{name}\" é constante (porque está em maiúsculas) e não pode ser redefinido",
|
@@ -130,8 +130,8 @@
|
|
130
130
|
"duplicateStarPattern": "Somente um padrão \"*\" permitido em uma sequência de padrões",
|
131
131
|
"duplicateStarStarPattern": "Somente uma entrada \"**\" é permitida",
|
132
132
|
"duplicateUnpack": "Somente uma operação unpack é permitida na lista",
|
133
|
-
"ellipsisContext": "\"...\"
|
134
|
-
"ellipsisSecondArg": "\"...\"
|
133
|
+
"ellipsisContext": "\"...\" is not allowed in this context",
|
134
|
+
"ellipsisSecondArg": "\"...\" is allowed only as the second of two arguments",
|
135
135
|
"enumClassOverride": "A classe Enum \"{name}\" é final e não pode ser subclasse",
|
136
136
|
"exceptionGroupIncompatible": "A sintaxe do grupo de exceção (\"exceto*\") requer o Python 3.11 ou mais recente",
|
137
137
|
"exceptionTypeIncorrect": "\"{type}\" não deriva de BaseException",
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"expectedTypeParameterName": "Nome do parâmetro de tipo esperado",
|
186
186
|
"expectedYieldExpr": "Expressão esperada na instrução yield",
|
187
187
|
"finalClassIsAbstract": "A classe \"{type}\" está marcada como final e deve implementar todos os métodos abstratos",
|
188
|
-
"finalContext": "\"Final\"
|
188
|
+
"finalContext": "\"Final\" is not allowed in this context",
|
189
189
|
"finalMethodOverride": "O método \"{name}\" não pode substituir o método final definido na classe \"{className}\"",
|
190
190
|
"finalReassigned": "\"{name}\" está declarado como Final e não pode ser reatribuído",
|
191
191
|
"finalRedeclaration": "\"{name}\" foi declarado anteriormente como Final",
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"paramSpecArgsMissing": "Argumentos para ParamSpec \"{type}\" estão ausentes",
|
336
336
|
"paramSpecArgsUsage": "O membro \"args\" de ParamSpec é válido somente quando usado com o parâmetro *args",
|
337
337
|
"paramSpecAssignedName": "ParamSpec deve ser atribuído a uma variável chamada \"{name}\"",
|
338
|
-
"paramSpecContext": "
|
338
|
+
"paramSpecContext": "ParamSpec is not allowed in this context",
|
339
339
|
"paramSpecDefaultNotTuple": "Reticências esperadas, uma expressão de tupla ou ParamSpec para o valor padrão de ParamSpec",
|
340
340
|
"paramSpecFirstArg": "Nome esperado de ParamSpec como primeiro argumento",
|
341
341
|
"paramSpecKwargsUsage": "O membro \"kwargs\" de ParamSpec é válido somente quando usado com o parâmetro **kwargs",
|
@@ -449,6 +449,7 @@
|
|
449
449
|
"typeArgsTooFew": "Poucos argumentos de tipo fornecidos para \"{name}\". Esperava-se {expected}, mas recebeu {received}",
|
450
450
|
"typeArgsTooMany": "Muitos argumentos de tipo fornecidos para \"{name}\". Esperava-se {expected}, mas recebeu {received}",
|
451
451
|
"typeAssignmentMismatch": "A expressão do tipo \"{sourceType}\" não pode ser atribuída ao tipo declarado \"{destType}\"",
|
452
|
+
"typeAssignmentMismatchWildcard": "Import symbol \"{name}\" has type \"{sourceType}\", which cannot be assigned to declared type \"{destType}\"",
|
452
453
|
"typeCallNotAllowed": "A chamada type() não deve ser usada na anotação de tipo",
|
453
454
|
"typeCommentDeprecated": "O uso de comentários de tipo foi preterido. Use anotação de tipo em vez disso",
|
454
455
|
"typeExpectedClass": "Expressão de tipo esperada, mas recebeu \"{type}\"",
|
@@ -488,7 +489,7 @@
|
|
488
489
|
"typeVarPossiblyUnsolvable": "A variável de tipo \"{name}\" pode ficar sem resolução se o chamador não fornecer nenhum argumento para o parâmetro \"{param}\"",
|
489
490
|
"typeVarScopedToReturnType": "A variável de tipo \"{name}\" tem como escopo um chamador dentro do tipo de retorno e não pode ser referenciada no corpo da função",
|
490
491
|
"typeVarSingleConstraint": "TypeVar deve ter pelo menos dois tipos restritos",
|
491
|
-
"typeVarTupleContext": "TypeVarTuple
|
492
|
+
"typeVarTupleContext": "TypeVarTuple is not allowed in this context",
|
492
493
|
"typeVarTupleDefaultNotUnpacked": "O tipo padrão TypeVarTuple deve ser uma tupla desempacotamento ou TypeVarTuple",
|
493
494
|
"typeVarTupleMustBeUnpacked": "O operador Unpack é necessário para o valor TypeVarTuple",
|
494
495
|
"typeVarTupleUnknownParam": "\"{name}\" é um parâmetro desconhecido para TypeVarTuple",
|
@@ -545,8 +546,8 @@
|
|
545
546
|
"unpackInAnnotation": "Operador Desempacotar não permitido na anotação de tipo",
|
546
547
|
"unpackInDict": "Operação de desempacotamento não permitida em dicionários",
|
547
548
|
"unpackInSet": "Operador unpack não permitido em um conjunto",
|
548
|
-
"unpackNotAllowed": "Unpack
|
549
|
-
"unpackOperatorNotAllowed": "
|
549
|
+
"unpackNotAllowed": "Unpack is not allowed in this context",
|
550
|
+
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
550
551
|
"unpackTuplesIllegal": "Operação de desempacotamento não permitida em tuplas anteriores ao Python 3.8",
|
551
552
|
"unpackedArgInTypeArgument": "Argumentos desempacotamento não podem ser usados em listas de argumentos de tipo",
|
552
553
|
"unpackedArgWithVariadicParam": "O argumento desempacotado não pode ser usado para o parâmetro TypeVarTuple",
|
@@ -567,7 +568,7 @@
|
|
567
568
|
"variadicTypeParamTooManyAlias": "O alias de tipo pode ter no máximo um parâmetro de tipo TypeVarTuple, mas recebeu vários ({names})",
|
568
569
|
"variadicTypeParamTooManyClass": "A classe genérica pode ter no máximo um parâmetro de tipo TypeVarTuple, mas recebeu vários ({names})",
|
569
570
|
"walrusIllegal": "O operador \":=\" requer o Python 3.8 ou mais recente",
|
570
|
-
"walrusNotAllowed": "
|
571
|
+
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
571
572
|
"wildcardInFunction": "Importação de curinga não permitida em uma classe ou função",
|
572
573
|
"wildcardLibraryImport": "Importação de curinga de uma biblioteca não permitida",
|
573
574
|
"wildcardPatternTypePartiallyUnknown": "O tipo capturado pelo padrão curinga é parcialmente desconhecido",
|
@@ -577,7 +578,7 @@
|
|
577
578
|
"yieldOutsideFunction": "\"yield\" não permitido fora de uma função ou lambda",
|
578
579
|
"yieldWithinListCompr": "\"yield\" não é permitido dentro de uma compreensão de lista",
|
579
580
|
"zeroCaseStatementsFound": "A instrução Match deve incluir pelo menos uma instrução case",
|
580
|
-
"zeroLengthTupleNotAllowed": "
|
581
|
+
"zeroLengthTupleNotAllowed": "Zero-length tuple is not allowed in this context"
|
581
582
|
},
|
582
583
|
"DiagnosticAddendum": {
|
583
584
|
"argParam": "O argumento corresponde ao parâmetro \"{paramName}\"",
|
@@ -620,6 +621,7 @@
|
|
620
621
|
"memberIsInitVar": "O membro \"{name}\" é um campo somente inicialização",
|
621
622
|
"memberIsInvariant": "\"{name}\" é invariável porque é mutável",
|
622
623
|
"memberIsNotFinalInProtocol": "\"{name}\" não está marcado como Final no protocolo",
|
624
|
+
"memberIsWritableInProtocol": "\"{name}\" is writable in protocol",
|
623
625
|
"memberSetClassVar": "O membro \"{name}\" não pode ser atribuído por meio de uma instância de classe porque é um ClassVar",
|
624
626
|
"memberTypeMismatch": "\"{name}\" é um tipo incompatível",
|
625
627
|
"memberUnknown": "O membro \"{name}\" é desconhecido",
|