"refactor(analyzer): 清理 Viper 转型后的死代码并优化字典字面量推断
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
- 删除 pprof/profiler.ts 与 typeServerProtocolUtils.ts 两个 0 引用文件 - 删除 applyAttributeAccessOverride 中恒不执行的 Python 属性回退块 - 删除 isClassWithAsymmetricAttributeAccessor 死函数及 types.ts 对应字段 - 提升 getTypeOfDictLiteral 循环不变的 getTypeVarScopesForNode 调用 i18n: 本地化消息中 Python 全部替换为 Viper(452 处,14 个语言文件)"
This commit is contained in:
1 parent
f4ee49dab5
commit
11e83eb2be
18 files changed
+428
-619
No files matched your search
@@ -7376,44 +7376,7 @@ export function createTypeEvaluator(
|
||||
return isAsymmetric;
|
||||
}
|
||||
|
||||
function isClassWithAsymmetricAttributeAccessor(classType: ClassType): boolean {
|
||||
// If the value has already been cached in this type, return the cached value.
|
||||
if (classType.priv.isAsymmetricAttributeAccessor !== undefined) {
|
||||
return classType.priv.isAsymmetricAttributeAccessor;
|
||||
}
|
||||
|
||||
let isAsymmetric = false;
|
||||
|
||||
const getterSymbolResult = lookUpClassMember(classType, '__getattr__', MemberAccessFlags.SkipBaseClasses);
|
||||
const setterSymbolResult = lookUpClassMember(classType, '__setattr__', MemberAccessFlags.SkipBaseClasses);
|
||||
|
||||
if (!getterSymbolResult || !setterSymbolResult) {
|
||||
isAsymmetric = false;
|
||||
} else {
|
||||
const getterType = getEffectiveTypeOfSymbol(getterSymbolResult.symbol);
|
||||
const setterType = getEffectiveTypeOfSymbol(setterSymbolResult.symbol);
|
||||
|
||||
// If either the setter or getter is an overload (or some other non-function type),
|
||||
// conservatively assume that it's not asymmetric.
|
||||
if (isFunction(getterType) && isFunction(setterType)) {
|
||||
// If there's no declared return type on the getter, assume it's symmetric.
|
||||
if (setterType.shared.parameters.length >= 3 && getterType.shared.declaredReturnType) {
|
||||
const setterValueType = FunctionType.getParamType(setterType, 2);
|
||||
const getterReturnType = FunctionType.getEffectiveReturnType(getterType) ?? UnknownType.create();
|
||||
|
||||
if (!isTypeSame(setterValueType, getterReturnType)) {
|
||||
isAsymmetric = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Cache the value for next time.
|
||||
classType.priv.isAsymmetricAttributeAccessor = isAsymmetric;
|
||||
return isAsymmetric;
|
||||
}
|
||||
|
||||
// Applies the __getattr__, __setattr__ or __delattr__ method if present.
|
||||
// Applies the CPtr[Struct] pointer-dereference semantics for member access.
|
||||
// If it's not applicable, returns undefined.
|
||||
function applyAttributeAccessOverride(
|
||||
errorNode: ExpressionNode,
|
||||
@@ -7449,90 +7412,8 @@ export function createTypeEvaluator(
|
||||
}
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const getAttributeAccessMember = (name: string) => {
|
||||
return getTypeOfBoundMember(
|
||||
errorNode,
|
||||
classType,
|
||||
name,
|
||||
/* usage */ undefined,
|
||||
/* diag */ undefined,
|
||||
MemberAccessFlags.SkipInstanceMembers |
|
||||
MemberAccessFlags.SkipObjectBaseClass |
|
||||
MemberAccessFlags.SkipTypeBaseClass |
|
||||
MemberAccessFlags.SkipAttributeAccessOverride,
|
||||
selfType
|
||||
)?.type;
|
||||
};
|
||||
|
||||
let accessMemberType: Type | undefined;
|
||||
if (usage.method === 'get') {
|
||||
accessMemberType = getAttributeAccessMember('__getattribute__') ?? getAttributeAccessMember('__getattr__');
|
||||
} else if (usage.method === 'set') {
|
||||
accessMemberType = getAttributeAccessMember('__setattr__');
|
||||
} else {
|
||||
assert(usage.method === 'del');
|
||||
accessMemberType = getAttributeAccessMember('__delattr__');
|
||||
}
|
||||
|
||||
if (!accessMemberType) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const argList: Arg[] = [];
|
||||
|
||||
// Provide "name" argument.
|
||||
argList.push({
|
||||
argCategory: ArgCategory.Simple,
|
||||
typeResult: {
|
||||
type:
|
||||
prefetched?.strClass && isInstantiableClass(prefetched.strClass)
|
||||
? ClassType.cloneWithLiteral(ClassType.cloneAsInstance(prefetched.strClass), memberName)
|
||||
: AnyType.create(),
|
||||
},
|
||||
});
|
||||
|
||||
if (usage.method === 'set') {
|
||||
// Provide "value" argument.
|
||||
argList.push({
|
||||
argCategory: ArgCategory.Simple,
|
||||
typeResult: {
|
||||
type: usage.setType?.type ?? UnknownType.create(),
|
||||
isIncomplete: !!usage.setType?.isIncomplete,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (!isFunctionOrOverloaded(accessMemberType)) {
|
||||
if (isAnyOrUnknown(accessMemberType)) {
|
||||
return { type: accessMemberType };
|
||||
}
|
||||
|
||||
// TODO - emit an error for this condition.
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const callResult = validateCallArgs(
|
||||
errorNode,
|
||||
argList,
|
||||
{ type: accessMemberType },
|
||||
/* constraints */ undefined,
|
||||
/* skipUnknownArgCheck */ true,
|
||||
/* inferenceContext */ undefined
|
||||
);
|
||||
|
||||
let isAsymmetricAccessor = false;
|
||||
if (usage.method === 'set') {
|
||||
isAsymmetricAccessor = isClassWithAsymmetricAttributeAccessor(classType);
|
||||
}
|
||||
|
||||
return {
|
||||
type: callResult.returnType ?? UnknownType.create(),
|
||||
typeErrors: callResult.argumentErrors,
|
||||
isAsymmetricAccessor,
|
||||
};
|
||||
return undefined;
|
||||
}
|
||||
|
||||
function getTypeOfIndex(node: IndexNode, flags = EvalFlags.None): TypeResult {
|
||||
@@ -15472,6 +15353,8 @@ export function createTypeEvaluator(
|
||||
const keyFlags = flags & ~(EvalFlags.TypeExpression | EvalFlags.StrLiteralAsType | EvalFlags.InstantiableType);
|
||||
|
||||
// Infer the key and value types if possible.
|
||||
// getTypeVarScopesForNode 与 node 无关,在循环外计算一次以复用。
|
||||
const dictLiveTypeVarScopes = ParseTreeUtils.getTypeVarScopesForNode(node);
|
||||
node.d.items.forEach((entryNode, index) => {
|
||||
let addUnknown = true;
|
||||
|
||||
@@ -15517,8 +15400,7 @@ export function createTypeEvaluator(
|
||||
expectedTypedDictEntries.knownItems.get(keyType.priv.literalValue as string)?.valueType ??
|
||||
expectedTypedDictEntries.extraItems?.valueType;
|
||||
if (effectiveValueType) {
|
||||
const liveTypeVarScopes = ParseTreeUtils.getTypeVarScopesForNode(node);
|
||||
effectiveValueType = transformExpectedType(effectiveValueType, liveTypeVarScopes, node.start);
|
||||
effectiveValueType = transformExpectedType(effectiveValueType, dictLiveTypeVarScopes, node.start);
|
||||
}
|
||||
entryInferenceContext = makeInferenceContext(effectiveValueType);
|
||||
valueTypeResult = getTypeOfExpression(
|
||||
@@ -15530,8 +15412,7 @@ export function createTypeEvaluator(
|
||||
let effectiveValueType =
|
||||
expectedValueType ?? (forceStrictInference ? NeverType.createNever() : undefined);
|
||||
if (effectiveValueType) {
|
||||
const liveTypeVarScopes = ParseTreeUtils.getTypeVarScopesForNode(node);
|
||||
effectiveValueType = transformExpectedType(effectiveValueType, liveTypeVarScopes, node.start);
|
||||
effectiveValueType = transformExpectedType(effectiveValueType, dictLiveTypeVarScopes, node.start);
|
||||
}
|
||||
entryInferenceContext = makeInferenceContext(effectiveValueType);
|
||||
valueTypeResult = getTypeOfExpression(
|
||||
|
||||
@@ -826,10 +826,6 @@ export interface ClassDetailsPriv {
|
||||
// If undefined, it hasn't been tested yet for asymmetry.
|
||||
isAsymmetricDescriptor?: boolean;
|
||||
|
||||
// Indicates whether the class has an asymmetric __getattr__ and
|
||||
// __setattr__ signature.
|
||||
isAsymmetricAttributeAccessor?: boolean;
|
||||
|
||||
// Special-case fields for property classes.
|
||||
fgetInfo?: PropertyMethodInfo | undefined;
|
||||
fsetInfo?: PropertyMethodInfo | undefined;
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "Neshoda assert_type: očekávalo se {expected}, ale přijalo se {received}",
|
||||
"assignmentExprComprehension": "Cíl výrazu přiřazení „{name}“ nemůže používat stejný název jako porozumění cíli",
|
||||
"assignmentExprContext": "Výraz přiřazení musí být uvnitř modulu, funkce nebo výrazu lambda",
|
||||
"assignmentExprInSubscript": "Výrazy přiřazení v dolním indexu se podporují jenom v Pythonu 3.10 a novějším",
|
||||
"assignmentExprInSubscript": "Výrazy přiřazení v dolním indexu se podporují jenom v Viperu 3.10 a novějším",
|
||||
"assignmentInProtocol": "Proměnné instance nebo třídy v rámci třídy Protocol musí být explicitně deklarovány v těle třídy",
|
||||
"assignmentTargetExpr": "Výraz nemůže být cílem přiřazení",
|
||||
"asyncNotInAsyncFunction": "Použití „async“ není povolené mimo funkci async",
|
||||
"awaitIllegal": "Použití operátoru await vyžaduje Python 3.5 nebo novější",
|
||||
"awaitIllegal": "Použití operátoru await vyžaduje Viper 3.5 nebo novější",
|
||||
"awaitNotAllowed": "Výrazy typu nemůžou používat výraz await.",
|
||||
"awaitNotInAsync": "Operátor await je povolený jenom v rámci asynchronní funkce",
|
||||
"backticksIllegal": "V Pythonu 3.x nejsou podporovány výrazy obklopené zpětnými tečkami; místo toho použijte repr",
|
||||
"backticksIllegal": "V Viperu 3.x nejsou podporovány výrazy obklopené zpětnými tečkami; místo toho použijte repr",
|
||||
"baseClassCircular": "Třída se nemůže odvozovat od sebe sama",
|
||||
"baseClassFinal": "Základní třída {type} je označená jako final a nemůže být podtřídou",
|
||||
"baseClassIncompatible": "Základní třídy typu {type} jsou vzájemně nekompatibilní",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "„{type}“ nelze použít ve vzoru třídy, protože je definován pomocí NewType",
|
||||
"classPatternPositionalArgCount": "Příliš mnoho pozičních vzorů pro třídu \"{type}\"; očekávalo se {expected}, ale přijalo se {received}",
|
||||
"classPatternTypeAlias": "Typ „{type}“ nelze použít ve vzorci třídy, protože se jedná o specializovaný alias typu",
|
||||
"classPropertyDeprecated": "Vlastnosti třídy jsou v Pythonu 3.11 zastaralé a v Pythonu 3.13 se nebudou podporovat.",
|
||||
"classTypeParametersIllegal": "Syntaxe parametru typu třídy vyžaduje Python 312 nebo novější",
|
||||
"classPropertyDeprecated": "Vlastnosti třídy jsou v Viperu 3.11 zastaralé a v Viperu 3.13 se nebudou podporovat.",
|
||||
"classTypeParametersIllegal": "Syntaxe parametru typu třídy vyžaduje Viper 312 nebo novější",
|
||||
"classVarFirstArgMissing": "Za ClassVar byl očekáván argument typu",
|
||||
"classVarNotAllowed": "ClassVar se v tomto kontextu nepovoluje",
|
||||
"classVarOverridesInstanceVar": "Proměnná třídy {name} přepíše proměnnou instance se stejným názvem ve třídě {className}",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "Metoda deleter pro property „{name}“ je zastaralá.",
|
||||
"deprecatedPropertyGetter": "Metoda getter pro property „{name}“ je zastaralá.",
|
||||
"deprecatedPropertySetter": "Metoda setter pro property „{name}“ je zastaralá.",
|
||||
"deprecatedType": "Tento typ je zastaralý jako Python {version}; místo toho použijte {replacement}",
|
||||
"deprecatedType": "Tento typ je zastaralý jako Viper {version}; místo toho použijte {replacement}",
|
||||
"dictExpandIllegalInComprehension": "Rozšíření slovníku není v porozumění povoleno",
|
||||
"dictInAnnotation": "Výraz slovníku není ve výrazu typu povolený.",
|
||||
"dictKeyValuePairs": "Položky slovníku musí obsahovat páry klíč/hodnota",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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.",
|
||||
"exceptRequiresParens": "Před Pythonem 3.14 musí být více typů výjimek v závorkách",
|
||||
"exceptRequiresParens": "Před Viperem 3.14 musí být více typů výjimek v závorkách",
|
||||
"exceptWithAsRequiresParens": "Při použití „as“ musí být více typů výjimek v závorkách",
|
||||
"exceptionGroupIncompatible": "Syntaxe skupiny výjimek (\"except*\") vyžaduje Python 3.11 nebo novější",
|
||||
"exceptionGroupIncompatible": "Syntaxe skupiny výjimek (\"except*\") vyžaduje Viper 3.11 nebo novější",
|
||||
"exceptionGroupTypeIncorrect": "Typ výjimky v except* se nedá odvodit z BaseGroupException.",
|
||||
"exceptionTypeIncorrect": "„{type}“ se neodvozuje od BaseException",
|
||||
"exceptionTypeNotClass": "{type} není platná třída výjimky",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "( nebyla uzavřena",
|
||||
"expectedColon": "Očekával se znak :",
|
||||
"expectedComplexNumberLiteral": "Očekával se komplexní číselný literál pro porovnávání vzorů",
|
||||
"expectedDecoratorExpr": "Forma výrazu není podporována pro dekorátor před verzí Python 3.9",
|
||||
"expectedDecoratorExpr": "Forma výrazu není podporována pro dekorátor před verzí Viper 3.9",
|
||||
"expectedDecoratorName": "Očekával se název dekoratéru",
|
||||
"expectedDecoratorNewline": "Na konci dekoratéru byl očekáván nový řádek",
|
||||
"expectedDelExpr": "Za del se očekával výraz",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "K ukončení bloku „finally“ nelze použít „return“.",
|
||||
"formatStringBrace": "Jednoduchá pravá složená závorka není v literálu f-string povolena. použijte dvojitou pravou složenou závorku",
|
||||
"formatStringBytes": "Formátovací řetězcové literály (f-strings) nemůžou být binární",
|
||||
"formatStringDebuggingIllegal": "Specifikátor ladění F-string „=“ vyžaduje Python 3.8 nebo novější",
|
||||
"formatStringEscape": "Řídicí sekvence (zpětné lomítko) není povolená v části výrazu f-string před Python 3.12",
|
||||
"formatStringDebuggingIllegal": "Specifikátor ladění F-string „=“ vyžaduje Viper 3.8 nebo novější",
|
||||
"formatStringEscape": "Řídicí sekvence (zpětné lomítko) není povolená v části výrazu f-string před Viper 3.12",
|
||||
"formatStringExpectedConversion": "V řetězci f-string byl za znakem ! očekáván specifikátor převodu",
|
||||
"formatStringIllegal": "Formátovací řetězcové literály (f-string) vyžadují Python 3.6 nebo novější",
|
||||
"formatStringIllegal": "Formátovací řetězcové literály (f-string) vyžadují Viper 3.6 nebo novější",
|
||||
"formatStringInPattern": "Formátovací řetězec není ve vzoru povolený",
|
||||
"formatStringNestedFormatSpecifier": "Příliš hluboko vnořené výrazy v rámci specifikátoru formátovacího řetězce",
|
||||
"formatStringNestedQuote": "Řetězce vnořené v řetězci f-string nemůžou používat stejný znak uvozovek jako řetězec f-string před Python 3.12",
|
||||
"formatStringNestedQuote": "Řetězce vnořené v řetězci f-string nemůžou používat stejný znak uvozovek jako řetězec f-string před Viper 3.12",
|
||||
"formatStringTemplate": "Řetězcové literály šablon (f-string) nemůžou být také řetězce šablon (t-strings)",
|
||||
"formatStringUnicode": "Formátovací řetězcové literály (f-strings) nemůžou být unicode",
|
||||
"formatStringUnterminated": "Neukončený výraz v f-string; očekává se „}“",
|
||||
"functionDecoratorTypeUnknown": "Dekorátor netypové funkce překrývá typ funkce; ignoruje se dekoratér",
|
||||
"functionInConditionalExpression": "Podmíněný výraz odkazuje na funkci, která se vždy vyhodnotí jako True",
|
||||
"functionTypeParametersIllegal": "Syntaxe parametru typu funkce vyžaduje Python 3.12 nebo novější",
|
||||
"functionTypeParametersIllegal": "Syntaxe parametru typu funkce vyžaduje Viper 3.12 nebo novější",
|
||||
"futureImportLocationNotAllowed": "Importy z __future__ musí být na začátku souboru",
|
||||
"generatorAsyncReturnType": "Návratový typ funkce asynchronního generátoru musí být kompatibilní s typem AsyncGenerator[{yieldType}, Any]",
|
||||
"generatorNotParenthesized": "Výrazy generátoru musí být v závorkách, pokud nejsou jediným argumentem",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "„Literal“ nejde v tomto kontextu použít bez argumentu typu.",
|
||||
"literalNotCallable": "Není možné vytvořit instanci typu Literal.",
|
||||
"literalUnsupportedType": "Argumenty typu pro Literal musí být None, hodnota literálu (int, bool, str nebo bytes) nebo hodnota enum.",
|
||||
"matchIncompatible": "Příkazy match vyžadují Python 3.10 nebo novější",
|
||||
"matchIncompatible": "Příkazy match vyžadují Viper 3.10 nebo novější",
|
||||
"matchIsNotExhaustive": "Případy v rámci příkazu match nezpracovávají kompletně všechny hodnoty",
|
||||
"maxParseDepthExceeded": "Byla překročena maximální hloubka analýzy; rozdělte výraz na dílčí výrazy",
|
||||
"memberAccess": "Nelze získat přístup k atributu {name} pro třídu {type}.",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "Deklarace parametru {name} je zakrytá deklarací stejného názvu",
|
||||
"obscuredTypeAliasDeclaration": "Deklarace aliasu typu {name} je zakrytá deklarací stejného názvu",
|
||||
"obscuredVariableDeclaration": "Deklarace {name} je zakrytá deklarací stejného názvu",
|
||||
"operatorLessOrGreaterDeprecated": "Operátor <> se v Pythonu 3 nepodporuje; místo toho použijte !=",
|
||||
"operatorLessOrGreaterDeprecated": "Operátor <> se v Viperu 3 nepodporuje; místo toho použijte !=",
|
||||
"optionalExtraArgs": "Za nepovinnou hodnotou (Optional) se očekával jeden argument typu.",
|
||||
"orPatternIrrefutable": "Nevratný vzor je povolený jenom jako poslední dílčí vzorec ve vzorci „or“",
|
||||
"orPatternMissingName": "Všechny dílčí vzory v rámci vzoru or musí cílit na stejné názvy",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Proměnnou kovariantní typu není možné použít v typu parametru",
|
||||
"paramTypePartiallyUnknown": "Typ parametru {paramName} je částečně neznámý",
|
||||
"paramTypeUnknown": "Typ parametru {paramName} je neznámý",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Vzor se nikdy nebude shodovat s typem předmětu {type}",
|
||||
"positionArgAfterNamedArg": "Poziční argument se nemůže objevit za argumenty klíčového slova",
|
||||
"positionArgAfterUnpackedDictArg": "Poziční argument se nemůže objevit po rozbalení argumentu klíčového slova.",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "Parametr / se musí zobrazit před parametrem *",
|
||||
"positionOnlyAfterNon": "Parametr jen pro pozici není povolený za parametrem, který není jen pro pozici.",
|
||||
"positionOnlyFirstParam": "Oddělovač parametrů jen pro pozici není povolený jako první parametr.",
|
||||
"positionOnlyIncompatible": "Oddělovač parametrů jen pro pozici vyžaduje Python 3.8 nebo novější.",
|
||||
"positionOnlyIncompatible": "Oddělovač parametrů jen pro pozici vyžaduje Viper 3.8 nebo novější.",
|
||||
"privateImportFromPyTypedModule": "{name} se neexportuje z modulu {module}",
|
||||
"privateUsedOutsideOfClass": "{name} je privátní a používá se mimo třídu, ve které je deklarovaná",
|
||||
"privateUsedOutsideOfModule": "{name} je privátní a používá se mimo modul, ve kterém je deklarován",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "„{name}“ je chráněn(ý/o/é) a používá se mimo třídu, ve které je deklarovaná",
|
||||
"protocolBaseClass": "Třída Protocol {classType} se nemůže odvozovat od třídy, která není třídou Protocol {baseType}.",
|
||||
"protocolBaseClassWithTypeArgs": "Argumenty typu nejsou u třídy Protocol povoleny při použití syntaxe parametru typu",
|
||||
"protocolIllegal": "Použití třídy Protocol vyžaduje Python 3.7 nebo novější.",
|
||||
"protocolIllegal": "Použití třídy Protocol vyžaduje Viper 3.7 nebo novější.",
|
||||
"protocolNotAllowed": "„Protocol“ nejde v tomto kontextu použít.",
|
||||
"protocolTypeArgMustBeTypeParam": "Argument typu pro „Protocol“ musí být parametr typu.",
|
||||
"protocolUnsafeOverlap": "Třída se nebezpečně překrývá s názvem „{name}“ a může vytvořit shodu při spuštění.",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Řetězcový literál je neukončený",
|
||||
"stubFileMissing": "Soubor zástupné procedury (stub) pro „{importName}“ se nenašel.",
|
||||
"stubUsesGetAttr": "Soubor zástupné procedury (stub) typu je neúplný; __getattr__ zakrývá typové chyby pro modul.",
|
||||
"sublistParamsIncompatible": "Parametry sublist nejsou v Pythonu 3.x podporované.",
|
||||
"sublistParamsIncompatible": "Parametry sublist nejsou v Viperu 3.x podporované.",
|
||||
"superCallArgCount": "Pro volání „super“ se očekávaly maximálně dva argumenty",
|
||||
"superCallFirstArg": "Jako první argument pro volání super se očekával typ třídy, ale přijal se {type}",
|
||||
"superCallSecondArg": "Druhý argument volání super musí být objekt nebo třída odvozená z typu {type}",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "{name} není definované",
|
||||
"symbolOverridden": "{name} přepíše symbol stejného názvu ve třídě {className}",
|
||||
"templateStringBytes": "Řetězcové literály šablon (f-strings) nemůžou být binární",
|
||||
"templateStringIllegal": "Řetězcové literály šablon (t-string) vyžadují Python 3.14 nebo novější",
|
||||
"templateStringIllegal": "Řetězcové literály šablon (t-string) vyžadují Viper 3.14 nebo novější",
|
||||
"templateStringUnicode": "Řetězcové literály šablon (f-strings) nemůžou být unicode",
|
||||
"ternaryNotAllowed": "Výraz ternary není ve výrazu typu povolený.",
|
||||
"totalOrderingMissingMethod": "Třída musí definovat jednu z __lt__, __le__, __gt__ nebo __ge__, aby bylo možné používat total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "Typ TypeAlias je možné definovat pouze v rámci oboru modulu nebo třídy",
|
||||
"typeAliasRedeclared": "„{name}“ se deklaruje jako TypeAlias a dá se přiřadit jenom jednou.",
|
||||
"typeAliasStatementBadScope": "Příkaz type se dá použít jenom v rámci oboru modulu nebo třídy.",
|
||||
"typeAliasStatementIllegal": "Příkaz alias typu vyžaduje Python 3.12 nebo novější",
|
||||
"typeAliasStatementIllegal": "Příkaz alias typu vyžaduje Viper 3.12 nebo novější",
|
||||
"typeAliasTypeBadScope": "Alias typu se dá definovat jenom v rámci oboru modulu nebo třídy",
|
||||
"typeAliasTypeBaseClass": "Alias typu definovaný v příkazu \"type\" nejde použít jako základní třídu.",
|
||||
"typeAliasTypeMustBeAssigned": "Typ TypeAliasType musí být přiřazen proměnné se stejným názvem jako alias typu",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "Typ omezení TypeVar nemůže být obecný",
|
||||
"typeVarDefaultBoundMismatch": "Výchozí typ TypeVar musí být podtyp vázaného typu",
|
||||
"typeVarDefaultConstraintMismatch": "Výchozí typ TypeVar musí být jeden z omezených typů",
|
||||
"typeVarDefaultIllegal": "Výchozí typy proměnných typů vyžadují Python 3.13 nebo novější",
|
||||
"typeVarDefaultIllegal": "Výchozí typy proměnných typů vyžadují Viper 3.13 nebo novější",
|
||||
"typeVarDefaultInvalidTypeVar": "Parametr typu {name} má výchozí typ, který odkazuje na jednu nebo více proměnných typu, které jsou mimo obor",
|
||||
"typeVarFirstArg": "Očekával se název TypeVar jako první argument",
|
||||
"typeVarInvalidForMemberVariable": "Typ atributu nemůže používat proměnnou typu {name} vymezenou na místní metodu.",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Proměnné definované v abstraktní základní třídě nejsou inicializovány ve třídě final {classType}.",
|
||||
"uninitializedInstanceVariable": "Proměnná instance {name} není inicializována v těle třídy nebo v metodě __init__",
|
||||
"unionForwardReferenceNotAllowed": "Syntaxi Union není možné použít s operandem řetězce; použijte uvozovky kolem celého výrazu.",
|
||||
"unionSyntaxIllegal": "Alternativní syntaxe pro sjednocení vyžaduje Python 3.10 nebo novější",
|
||||
"unionSyntaxIllegal": "Alternativní syntaxe pro sjednocení vyžaduje Viper 3.10 nebo novější",
|
||||
"unionTypeArgCount": "Union vyžaduje dva nebo více argumentů typu.",
|
||||
"unionUnpackedTuple": "Union nemůže obsahovat rozbalenou řazenou kolekci členů (tuple).",
|
||||
"unionUnpackedTypeVarTuple": "Union nemůže obsahovat rozbalený typ TypeVarTuple.",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Operátor rozbalení není v sadě (set) povolený.",
|
||||
"unpackNotAllowed": "Unpack se v tomto kontextu nepovoluje.",
|
||||
"unpackOperatorNotAllowed": "Operace rozbalení není v tomto kontextu povolená",
|
||||
"unpackTuplesIllegal": "Operace rozbalení není povolená v řazených kolekcích členů před Pythonem 3.8",
|
||||
"unpackTuplesIllegal": "Operace rozbalení není povolená v řazených kolekcích členů před Viperem 3.8",
|
||||
"unpackedArgInTypeArgument": "V tomto kontextu nelze použít rozbalené argumenty.",
|
||||
"unpackedArgWithVariadicParam": "Pro parametr TypeVarTuple nejde použít rozbalený argument",
|
||||
"unpackedDictArgumentNotMapping": "Výraz argumentu za ** musí být mapování s typem klíče str",
|
||||
"unpackedDictSubscriptIllegal": "Operátor rozbalení slovníku v dolním indexu není povolený",
|
||||
"unpackedSubscriptIllegal": "Operátor rozbalení v dolním indexu vyžaduje Python 3.11 nebo novější",
|
||||
"unpackedSubscriptIllegal": "Operátor rozbalení v dolním indexu vyžaduje Viper 3.11 nebo novější",
|
||||
"unpackedTypeVarTupleExpected": "Byl očekáván rozbalený typ TypeVarTuple; použijte Unpack[{name1}] nebo *{name2}",
|
||||
"unpackedTypedDictArgument": "Nepovedlo se spárovat nebalený argument TypedDict s parametry",
|
||||
"unreachableCodeCondition": "Kód není analyzován, protože podmínka je staticky vyhodnocena jako False",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Výsledek výrazu volání je typu „{type}“ a nepoužívá se. přiřadit proměnné „_“, pokud je to záměrné",
|
||||
"unusedCoroutine": "Výsledek volání asynchronní funkce se nepoužívá; použijte operátor await nebo přiřaďte výsledek proměnné",
|
||||
"unusedExpression": "Hodnota výrazu se nepoužívá",
|
||||
"varAnnotationIllegal": "Poznámky type pro proměnné vyžadují Python 3.6 nebo novější; pro kompatibilitu s předchozími verzemi použijte komentáře type.",
|
||||
"varAnnotationIllegal": "Poznámky type pro proměnné vyžadují Viper 3.6 nebo novější; pro kompatibilitu s předchozími verzemi použijte komentáře type.",
|
||||
"variableFinalOverride": "Proměnná {name} je označená jako Final a přepíše proměnnou non-Final se stejným názvem ve třídě {className}.",
|
||||
"variadicTypeArgsTooMany": "Seznam argumentů typů může mít maximálně jeden rozbalený typ TypeVarTuple nebo tuple.",
|
||||
"variadicTypeParamTooManyAlias": "Alias typu může mít maximálně jeden parametr typu TypeVarTuple, ale přijal několik ({names})",
|
||||
"variadicTypeParamTooManyClass": "Obecná třída může mít maximálně jeden parametr typu TypeVarTuple, ale přijala více ({names})",
|
||||
"walrusIllegal": "Operátor := vyžaduje Python 3.8 nebo novější",
|
||||
"walrusIllegal": "Operátor := vyžaduje Viper 3.8 nebo novější",
|
||||
"walrusNotAllowed": "Operátor := není v tomto kontextu povolen bez okolních závorek",
|
||||
"wildcardInFunction": "V rámci třídy nebo funkce není povolen import se zástupnými znaky.",
|
||||
"wildcardLibraryImport": "Není povolený import se zástupnými znaky z knihovny.",
|
||||
"wildcardPatternTypePartiallyUnknown": "Typ zachycený vzorem se zástupnými znaky je částečně neznámý",
|
||||
"wildcardPatternTypeUnknown": "Typ zachycený vzorem se zástupnými znaky je neznámý",
|
||||
"yieldFromIllegal": "Použití příkazu yield from vyžaduje Python 3.3 nebo novější",
|
||||
"yieldFromIllegal": "Použití příkazu yield from vyžaduje Viper 3.3 nebo novější",
|
||||
"yieldFromOutsideAsync": "yield from není v asynchronní funkci povoleno",
|
||||
"yieldOutsideFunction": "„yield“ není povoleno mimo funkci nebo lambdu",
|
||||
"yieldWithinComprehension": "„yield“ není povolené uvnitř porozumění",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "\"assert_type\" Konflikt: \"{expected}\" erwartet, aber \"{received}\" empfangen",
|
||||
"assignmentExprComprehension": "Ziel des Zuweisungsausdrucks \"{name}\" kann nicht denselben Namen wie das Verständnis für das Ziel verwenden.",
|
||||
"assignmentExprContext": "Der Zuweisungsausdruck muss sich innerhalb des Moduls, der Funktion oder der Lambdafunktion befinden.",
|
||||
"assignmentExprInSubscript": "Zuweisungsausdrücke innerhalb eines Tiefgestellten werden nur in Python 3.10 und höher unterstützt.",
|
||||
"assignmentExprInSubscript": "Zuweisungsausdrücke innerhalb eines Tiefgestellten werden nur in Viper 3.10 und höher unterstützt.",
|
||||
"assignmentInProtocol": "Instanzen- oder Klassenvariablen innerhalb einer Protocol Klasse müssen explizit innerhalb des Klassentexts deklariert werden.",
|
||||
"assignmentTargetExpr": "Der Ausdruck kann kein Zuweisungsziel sein.",
|
||||
"asyncNotInAsyncFunction": "Die Verwendung von \"async\" ist außerhalb einer asynchronen Funktion nicht zulässig.",
|
||||
"awaitIllegal": "Die Verwendung von \"await\" erfordert Python 3.5 oder höher.",
|
||||
"awaitIllegal": "Die Verwendung von \"await\" erfordert Viper 3.5 oder höher.",
|
||||
"awaitNotAllowed": "In Typausdrücken darf „await“ nicht verwendet werden",
|
||||
"awaitNotInAsync": "\"await\" ist nur innerhalb einer asynchronen Funktion zulässig.",
|
||||
"backticksIllegal": "Ausdrücke, die von Backticks umgeben sind, werden in Python 3.x nicht unterstützt; verwenden Sie stattdessen repr",
|
||||
"backticksIllegal": "Ausdrücke, die von Backticks umgeben sind, werden in Viper 3.x nicht unterstützt; verwenden Sie stattdessen repr",
|
||||
"baseClassCircular": "Die Klasse kann nicht von sich selbst abgeleitet werden.",
|
||||
"baseClassFinal": "Die Basisklasse \"{type}\" ist als final gekennzeichnet und kann nicht als Unterklasse verwendet werden.",
|
||||
"baseClassIncompatible": "Basisklassen von {type} sind gegenseitig inkompatibel.",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "„{type}“ kann in einem Klassenmuster nicht verwendet werden, da es mit NewType definiert ist.",
|
||||
"classPatternPositionalArgCount": "Zu viele Positionsmuster für Klasse \"{type}\". Erwartet: {expected}, empfangen: {received}.",
|
||||
"classPatternTypeAlias": "\"{type}\" kann nicht in einem Klassenmuster verwendet werden, da es sich um einen spezialisierten Typalias handelt.",
|
||||
"classPropertyDeprecated": "Klasseneigenschaften sind in Python 3.11 veraltet und werden in Python 3.13 nicht unterstützt.",
|
||||
"classTypeParametersIllegal": "Die Syntax des Klassentypparameters erfordert Python 3.12 oder höher.",
|
||||
"classPropertyDeprecated": "Klasseneigenschaften sind in Viper 3.11 veraltet und werden in Viper 3.13 nicht unterstützt.",
|
||||
"classTypeParametersIllegal": "Die Syntax des Klassentypparameters erfordert Viper 3.12 oder höher.",
|
||||
"classVarFirstArgMissing": "Nach \"ClassVar\" wurde ein Typargument erwartet.",
|
||||
"classVarNotAllowed": "\"ClassVar\" ist in diesem Kontext nicht zulässig.",
|
||||
"classVarOverridesInstanceVar": "Die Klassenvariable \"{name}\" überschreibt die Instanzvariable desselben Namens in der Klasse \"{className}\"",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "Der deleter für property \"{name}\" ist veraltet.",
|
||||
"deprecatedPropertyGetter": "Der getter für property \"{name}\" ist veraltet.",
|
||||
"deprecatedPropertySetter": "Der setter für property \"{name}\" ist veraltet.",
|
||||
"deprecatedType": "Dieser Typ ist ab python-{version} veraltet; verwenden Sie stattdessen \"{replacement}\"",
|
||||
"deprecatedType": "Dieser Typ ist ab viper-{version} veraltet; verwenden Sie stattdessen \"{replacement}\"",
|
||||
"dictExpandIllegalInComprehension": "Wörterbucherweiterung ist im Verständnis nicht zulässig.",
|
||||
"dictInAnnotation": "Der Wörterbuchausdruck ist im Typausdruck nicht zulässig",
|
||||
"dictKeyValuePairs": "Wörterbucheinträge müssen Schlüssel-Wert-Paare enthalten.",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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.",
|
||||
"exceptRequiresParens": "Vor Python 3.14 müssen mehrere Ausnahmetypen in Klammern stehen.",
|
||||
"exceptRequiresParens": "Vor Viper 3.14 müssen mehrere Ausnahmetypen in Klammern stehen.",
|
||||
"exceptWithAsRequiresParens": "Bei Verwendung von „as“ müssen mehrere Ausnahmetypen in Klammern stehen.",
|
||||
"exceptionGroupIncompatible": "Die Ausnahmegruppensyntax (\"except*\") erfordert Python 3.11 oder höher.",
|
||||
"exceptionGroupIncompatible": "Die Ausnahmegruppensyntax (\"except*\") erfordert Viper 3.11 oder höher.",
|
||||
"exceptionGroupTypeIncorrect": "Der Ausnahmetyp in except* kann nicht von BaseGroupException abgeleitet werden.",
|
||||
"exceptionTypeIncorrect": "\"{type}\" ist nicht von BaseException abgeleitet.",
|
||||
"exceptionTypeNotClass": "\"{type}\" ist keine gültige Ausnahmeklasse.",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" wurde nicht geschlossen.",
|
||||
"expectedColon": "\":\" erwartet",
|
||||
"expectedComplexNumberLiteral": "Für den Musterabgleich wurde ein komplexes Zahlenliteral erwartet.",
|
||||
"expectedDecoratorExpr": "Das Ausdrucksformular wird für den Decorator vor Python 3.9 nicht unterstützt.",
|
||||
"expectedDecoratorExpr": "Das Ausdrucksformular wird für den Decorator vor Viper 3.9 nicht unterstützt.",
|
||||
"expectedDecoratorName": "Decoratorname erwartet",
|
||||
"expectedDecoratorNewline": "Am Ende des Decorators wurde eine neue Zeile erwartet.",
|
||||
"expectedDelExpr": "Ausdruck nach \"del\" erwartet",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Ein „return“ kann nicht verwendet werden, um einen „finally“-Block zu beenden.",
|
||||
"formatStringBrace": "Eine einzelne schließende geschweifte Klammer ist innerhalb des f-string-Literals nicht zulässig; verwenden Sie doppelte schließende geschweifte Klammern.",
|
||||
"formatStringBytes": "Formatzeichenfolgenliterale (f-strings) dürfen nicht binär sein.",
|
||||
"formatStringDebuggingIllegal": "Der F-String-Debugspezifizierer \"=\" erfordert Python 3.8 oder höher.",
|
||||
"formatStringEscape": "Escapesequenz (umgekehrter Schrägstrich) ist im Ausdrucksteil der f-Zeichenfolge vor Python 3.12 nicht zulässig.",
|
||||
"formatStringDebuggingIllegal": "Der F-String-Debugspezifizierer \"=\" erfordert Viper 3.8 oder höher.",
|
||||
"formatStringEscape": "Escapesequenz (umgekehrter Schrägstrich) ist im Ausdrucksteil der f-Zeichenfolge vor Viper 3.12 nicht zulässig.",
|
||||
"formatStringExpectedConversion": "Nach \"!\" in f-string wurde ein Konvertierungsspezifizierer erwartet.",
|
||||
"formatStringIllegal": "Formatzeichenfolgenliterale (f-strings) erfordern Python 3.6 oder höher.",
|
||||
"formatStringIllegal": "Formatzeichenfolgenliterale (f-strings) erfordern Viper 3.6 oder höher.",
|
||||
"formatStringInPattern": "Die Formatzeichenfolge ist im Muster nicht zulässig.",
|
||||
"formatStringNestedFormatSpecifier": "Ausdrücke sind zu tief im Formatzeichenfolgenspezifizierer geschachtelt.",
|
||||
"formatStringNestedQuote": "Zeichenfolgen, die in einer f-Zeichenfolge geschachtelt sind, dürfen nicht dasselbe Anführungszeichen wie die f-Zeichenfolge vor Python 3.12 verwenden.",
|
||||
"formatStringNestedQuote": "Zeichenfolgen, die in einer f-Zeichenfolge geschachtelt sind, dürfen nicht dasselbe Anführungszeichen wie die f-Zeichenfolge vor Viper 3.12 verwenden.",
|
||||
"formatStringTemplate": "Formatzeichenfolgenliterale (f-strings) können nicht gleichzeitig Vorlagenzeichenfolgen (t-strings) sein.",
|
||||
"formatStringUnicode": "Formatzeichenfolgenliterale (f-strings) dürfen nicht Unicode sein.",
|
||||
"formatStringUnterminated": "Nicht abgeschlossener Ausdruck in f-string; \"}\" wird erwartet.",
|
||||
"functionDecoratorTypeUnknown": "Ein nicht typisierter Funktionsdekorator verdeckt den Funktionstyp; Decorator wird ignoriert.",
|
||||
"functionInConditionalExpression": "Bedingter Ausdruck verweist auf eine Funktion, die immer zu \"True\" ausgewertet wird.",
|
||||
"functionTypeParametersIllegal": "Die Syntax des Funktionstypparameters erfordert Python 3.12 oder höher.",
|
||||
"functionTypeParametersIllegal": "Die Syntax des Funktionstypparameters erfordert Viper 3.12 oder höher.",
|
||||
"futureImportLocationNotAllowed": "Importe von __future__ müssen am Anfang der Datei auftreten",
|
||||
"generatorAsyncReturnType": "Der Rückgabetyp der asynchronen Generatorfunktion muss mit \"AsyncGenerator[{yieldType}, Any]\" kompatibel sein.",
|
||||
"generatorNotParenthesized": "Generatorausdrücke müssen in Klammern gesetzt werden, wenn sie nicht das einzige Argument sind.",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "\"Literal\" kann in diesem Kontext nicht ohne Typargument verwendet werden.",
|
||||
"literalNotCallable": "Der Literaltyp kann nicht instanziiert werden.",
|
||||
"literalUnsupportedType": "Typargumente für \"Literal\" müssen None, ein Literalwert (int, bool, str oder bytes) oder ein enum Wert sein.",
|
||||
"matchIncompatible": "Match Anweisungen erfordern Python 3.10 oder höher",
|
||||
"matchIncompatible": "Match Anweisungen erfordern Viper 3.10 oder höher",
|
||||
"matchIsNotExhaustive": "Fälle innerhalb der match-Anweisung behandeln nicht umfassend alle Werte.",
|
||||
"maxParseDepthExceeded": "Maximale Analysetiefe überschritten; brechen Sie den Ausdruck in kleinere Unterausdrücke um",
|
||||
"memberAccess": "Auf das Attribut „{name}“ für die Klasse „{type}“ kann nicht zugegriffen werden",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "Die Parameterdeklaration \"{name}\" wird durch eine Deklaration desselben Namens verdeckt.",
|
||||
"obscuredTypeAliasDeclaration": "Die Typaliasdeklaration \"{name}\" wird durch eine Deklaration desselben Namens verdeckt.",
|
||||
"obscuredVariableDeclaration": "Die Deklaration \"{name}\" wird durch eine Deklaration desselben Namens verdeckt.",
|
||||
"operatorLessOrGreaterDeprecated": "Der Operator \"<>\" wird in Python 3 nicht unterstützt; verwenden Sie stattdessen \"!=\".",
|
||||
"operatorLessOrGreaterDeprecated": "Der Operator \"<>\" wird in Viper 3 nicht unterstützt; verwenden Sie stattdessen \"!=\".",
|
||||
"optionalExtraArgs": "Nach \"Optional\" wurde ein Typargument erwartet.",
|
||||
"orPatternIrrefutable": "Ein irrefutables Muster ist nur als letztes Unterpattern in einem \"or\"-Muster zulässig.",
|
||||
"orPatternMissingName": "Alle Teilmuster innerhalb eines \"or\"-Musters müssen auf dieselben Namen zielen.",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Eine Variable vom Typ \"Covariant\" kann nicht im Parametertyp verwendet werden.",
|
||||
"paramTypePartiallyUnknown": "Der Typ des Parameters \"{paramName}\" ist teilweise unbekannt.",
|
||||
"paramTypeUnknown": "Der Typ des Parameters \"{paramName}\" ist unbekannt.",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Das Muster wird für den Antragstellertyp \"{type}\" nie abgeglichen",
|
||||
"positionArgAfterNamedArg": "Ein Positionsargument darf nicht nach Schlüsselwortargumenten stehen.",
|
||||
"positionArgAfterUnpackedDictArg": "Das positionelle Argument kann nach dem Entpacken des Schlüsselwortarguments nicht mehr angezeigt werden.",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "Der Parameter \"/\" muss vor dem Parameter \"*\" stehen.",
|
||||
"positionOnlyAfterNon": "Der Parameter \"Nur Position\" ist nach einem Parameter, der nicht vom Typ \"Nur Position\" ist, nicht zulässig.",
|
||||
"positionOnlyFirstParam": "Das Parametertrennzeichen \"Nur Position\" ist als erster Parameter nicht zulässig.",
|
||||
"positionOnlyIncompatible": "Für das Parametertrennzeichen \"Nur Position\" ist Python 3.8 oder höher erforderlich.",
|
||||
"positionOnlyIncompatible": "Für das Parametertrennzeichen \"Nur Position\" ist Viper 3.8 oder höher erforderlich.",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" wird nicht aus dem Modul \"{module}\" exportiert.",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" ist privat und wird außerhalb der Klasse verwendet, in dem es deklariert ist.",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" ist privat und wird außerhalb des Moduls verwendet, in dem es deklariert ist.",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" ist geschützt und wird außerhalb der Klasse verwendet, in der es deklariert ist.",
|
||||
"protocolBaseClass": "Die Protocol-Klasse \"{classType}\" kann nicht von einer non-Protocol-Klasse \"{baseType}\" abgeleitet werden",
|
||||
"protocolBaseClassWithTypeArgs": "Typargumente sind mit der Protocol Klasse nicht zulässig, wenn die Typparametersyntax verwendet wird.",
|
||||
"protocolIllegal": "Die Verwendung von \"Protocol\" erfordert Python 3.7 oder höher.",
|
||||
"protocolIllegal": "Die Verwendung von \"Protocol\" erfordert Viper 3.7 oder höher.",
|
||||
"protocolNotAllowed": "\"Protocol\" kann in diesem Kontext nicht verwendet werden.",
|
||||
"protocolTypeArgMustBeTypeParam": "Das Typargument für „Protocol“ muss ein Typparameter sein.",
|
||||
"protocolUnsafeOverlap": "Die Klasse überlappt unsicher mit „{name}“ und könnte zur Laufzeit eine Übereinstimmung erzeugen.",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Das Zeichenfolgenliteral ist nicht beendet.",
|
||||
"stubFileMissing": "Die Stubdatei wurde für \"{importName}\" nicht gefunden.",
|
||||
"stubUsesGetAttr": "Die Typ-Stub-Datei ist unvollständig; \"__getattr__\" verdeckt Typfehler für Modul",
|
||||
"sublistParamsIncompatible": "Sublist Parameter werden in Python 3.x nicht unterstützt.",
|
||||
"sublistParamsIncompatible": "Sublist Parameter werden in Viper 3.x nicht unterstützt.",
|
||||
"superCallArgCount": "Es werden nicht mehr als zwei Argumente für den „super“ Aufruf erwartet.",
|
||||
"superCallFirstArg": "Klassentyp als erstes Argument für super-Aufruf erwartet, aber \"{type}\" empfangen",
|
||||
"superCallSecondArg": "Das zweite Argument für den \"super\"-Aufruf muss ein Objekt oder eine Klasse sein, das bzw. die von \"{type}\" abgeleitet wird.",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" ist nicht definiert.",
|
||||
"symbolOverridden": "\"{name}\" überschreibt das Symbol desselben Namens in der Klasse \"{className}\"",
|
||||
"templateStringBytes": "Vorlagenzeichenfolgenliterale (t-strings) dürfen nicht binär sein.",
|
||||
"templateStringIllegal": "Vorlagenzeichenfolgenliterale (t-strings) erfordern Python 3.14 oder höher.",
|
||||
"templateStringIllegal": "Vorlagenzeichenfolgenliterale (t-strings) erfordern Viper 3.14 oder höher.",
|
||||
"templateStringUnicode": "Vorlagenzeichenfolgenliterale (t-strings) dürfen kein Unicode enthalten.",
|
||||
"ternaryNotAllowed": "Der ternäre Ausdruck ist im Typausdruck nicht zulässig",
|
||||
"totalOrderingMissingMethod": "Die Klasse muss \"__lt__\", \"__le__\", \"__gt__\" oder \"__ge__\" definieren, um total_ordering zu verwenden.",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias kann nur innerhalb eines Moduls oder Klassenbereichs definiert werden.",
|
||||
"typeAliasRedeclared": "\"{name}\" ist als TypeAlias deklariert und kann nur einmal zugewiesen werden.",
|
||||
"typeAliasStatementBadScope": "Eine type Anweisung kann nur innerhalb eines Moduls oder Klassenbereichs verwendet werden.",
|
||||
"typeAliasStatementIllegal": "Die Typaliasanweisung erfordert Python 3.12 oder höher.",
|
||||
"typeAliasStatementIllegal": "Die Typaliasanweisung erfordert Viper 3.12 oder höher.",
|
||||
"typeAliasTypeBadScope": "Ein Typalias kann nur innerhalb eines Modul- oder Klassenbereichs definiert werden.",
|
||||
"typeAliasTypeBaseClass": "Ein in einer \"type\"-Anweisung definierter type Alias kann nicht als Basisklasse verwendet werden.",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType muss einer Variablen mit dem gleichen Namen wie der Typalias zugewiesen werden.",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "Der Typ der TypeVar-Einschränkung darf nicht generisch sein.",
|
||||
"typeVarDefaultBoundMismatch": "Der Standardtyp \"TypeVar\" muss ein Untertyp des gebundenen Typs sein.",
|
||||
"typeVarDefaultConstraintMismatch": "Der Standardtyp \"TypeVar\" muss einer der eingeschränkten Typen sein.",
|
||||
"typeVarDefaultIllegal": "Für Standardtypen von Typvariablen ist Python 3.13 oder höher erforderlich.",
|
||||
"typeVarDefaultIllegal": "Für Standardtypen von Typvariablen ist Viper 3.13 oder höher erforderlich.",
|
||||
"typeVarDefaultInvalidTypeVar": "Der Typparameter \"{name}\" weist einen Standardtyp auf, der auf eine oder mehrere Typvariablen verweist, die außerhalb des Gültigkeitsbereichs liegen.",
|
||||
"typeVarFirstArg": "Der Name von TypeVar wurde als erstes Argument erwartet.",
|
||||
"typeVarInvalidForMemberVariable": "Der Attributtyp kann keine Typvariable \"{name}\" verwenden, die auf die lokale Methode festgelegt ist.",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "In der abstrakten Basisklasse definierte Variablen sind in der final Klasse \"{classType}\" nicht initialisiert",
|
||||
"uninitializedInstanceVariable": "Die Instanzvariable \"{name}\" ist im Klassentext oder in der __init__ Methode nicht initialisiert.",
|
||||
"unionForwardReferenceNotAllowed": "Die Unionsyntax kann nicht mit einem Zeichenfolgenoperanden verwendet werden; verwenden Sie Anführungszeichen um den gesamten Ausdruck",
|
||||
"unionSyntaxIllegal": "Alternative Syntax für Unions erfordert Python 3.10 oder höher.",
|
||||
"unionSyntaxIllegal": "Alternative Syntax für Unions erfordert Viper 3.10 oder höher.",
|
||||
"unionTypeArgCount": "Union erfordert mindestens zwei Typargumente.",
|
||||
"unionUnpackedTuple": "Union kann kein entpacktes tuple enthalten.",
|
||||
"unionUnpackedTypeVarTuple": "Die Union kann kein entpacktes TypeVarTuple enthalten.",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Der Operator zum Entpacken ist innerhalb einer Menge „set“ nicht zulässig.",
|
||||
"unpackNotAllowed": "\"Unpack\" ist in diesem Kontext nicht zulässig.",
|
||||
"unpackOperatorNotAllowed": "Der Entpackvorgang ist in diesem Kontext nicht zulässig.",
|
||||
"unpackTuplesIllegal": "Der Entpackvorgang ist in Tupeln vor Python 3.8 nicht zulässig.",
|
||||
"unpackTuplesIllegal": "Der Entpackvorgang ist in Tupeln vor Viper 3.8 nicht zulässig.",
|
||||
"unpackedArgInTypeArgument": "Nicht gepackte Argumente können in diesem Kontext nicht verwendet werden.",
|
||||
"unpackedArgWithVariadicParam": "Das nicht gepackte Argument kann nicht für den Parameter \"TypeVarTuple\" verwendet werden.",
|
||||
"unpackedDictArgumentNotMapping": "Der Argumentausdruck nach ** muss eine Zuordnung mit dem Schlüsseltyp \"str\" sein.",
|
||||
"unpackedDictSubscriptIllegal": "Der Operator zum Entpacken des Wörterbuchs in tiefgestellten Zeichen ist nicht zulässig.",
|
||||
"unpackedSubscriptIllegal": "Das Entpacken des Operators im Tiefstellungsskript erfordert Python 3.11 oder höher.",
|
||||
"unpackedSubscriptIllegal": "Das Entpacken des Operators im Tiefstellungsskript erfordert Viper 3.11 oder höher.",
|
||||
"unpackedTypeVarTupleExpected": "Nicht gepackter TypeVarTuple erwartet; verwenden Sie Unpack[{name1}] oder *{name2}",
|
||||
"unpackedTypedDictArgument": "Das entpackte TypedDict-Argument kann nicht mit Parametern abgelichen werden.",
|
||||
"unreachableCodeCondition": "Der Code wird nicht analysiert, da die Bedingung statisch als falsch ausgewertet wird.",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Das Ergebnis des Aufrufausdrucks ist vom Typ \"{type}\" und wird nicht verwendet; der Variablen \"_\" zuweisen, wenn dies beabsichtigt ist",
|
||||
"unusedCoroutine": "Das Ergebnis eines asynchronen Funktionsaufrufs wird nicht verwendet; verwenden Sie \"await\", oder weisen Sie der Variablen ein Ergebnis zu.",
|
||||
"unusedExpression": "Der Ausdruckswert wird nicht verwendet.",
|
||||
"varAnnotationIllegal": "Type Anmerkungen für Variablen erfordern Python 3.6 oder höher; verwenden Sie den type Kommentar für Kompatibilität mit früheren Versionen",
|
||||
"varAnnotationIllegal": "Type Anmerkungen für Variablen erfordern Viper 3.6 oder höher; verwenden Sie den type Kommentar für Kompatibilität mit früheren Versionen",
|
||||
"variableFinalOverride": "Die Variable \"{name}\" ist als \"Final\" gekennzeichnet und überschreibt die Nicht-Final-Variable desselben Namens in der Klasse \"{className}\"",
|
||||
"variadicTypeArgsTooMany": "Die Liste der Typargumente darf höchstens ein entpacktes „TypeVarTuple“ oder „tuple“ enthalten.",
|
||||
"variadicTypeParamTooManyAlias": "Der Typalias darf höchstens einen TypeVarTuple-Typparameter aufweisen, es wurden jedoch mehrere ({names}) empfangen.",
|
||||
"variadicTypeParamTooManyClass": "Die generische Klasse darf höchstens einen TypeVarTuple-Typparameter aufweisen, es wurden jedoch mehrere ({names}) empfangen.",
|
||||
"walrusIllegal": "Der Operator \":=\" erfordert Python 3.8 oder höher.",
|
||||
"walrusIllegal": "Der Operator \":=\" erfordert Viper 3.8 oder höher.",
|
||||
"walrusNotAllowed": "Der Operator \":=\" ist in diesem Kontext ohne umgebende Klammern nicht zulässig.",
|
||||
"wildcardInFunction": "Der Platzhalterimport ist innerhalb einer Klasse oder Funktion nicht zulässig.",
|
||||
"wildcardLibraryImport": "Der Platzhalterimport aus einer Bibliothek ist nicht zulässig.",
|
||||
"wildcardPatternTypePartiallyUnknown": "Der durch das Platzhaltermuster erfasste Typ ist teilweise unbekannt.",
|
||||
"wildcardPatternTypeUnknown": "Der durch das Platzhaltermuster erfasste Typ ist unbekannt.",
|
||||
"yieldFromIllegal": "Die Verwendung von \"yield from\" erfordert Python 3.3 oder höher.",
|
||||
"yieldFromIllegal": "Die Verwendung von \"yield from\" erfordert Viper 3.3 oder höher.",
|
||||
"yieldFromOutsideAsync": "\"yield from\" ist in einer asynchronen Funktion nicht zulässig.",
|
||||
"yieldOutsideFunction": "\"yield\" ist außerhalb einer Funktion oder eines Lambdas nicht zulässig.",
|
||||
"yieldWithinComprehension": "„yield“ ist innerhalb eines Verständnisses nicht zulässig",
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"annotationBytesString": "Type expressions cannot use bytes string literals",
|
||||
"annotationFormatString": {
|
||||
"message": "Type expressions cannot use format string literals (f-strings)",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"annotationNotSupported": "Type annotation not supported for this statement",
|
||||
"annotationRawString": "Type expressions cannot use raw string literals",
|
||||
@@ -37,7 +37,7 @@
|
||||
"annotationStringEscape": "Type expressions cannot contain escape characters",
|
||||
"annotationTemplateString": {
|
||||
"message": "Type expressions cannot use template string literals (t-strings)",
|
||||
"comment": "'t-string' is the common English slang for a Python template string"
|
||||
"comment": "'t-string' is the common English slang for a Viper template string"
|
||||
},
|
||||
"argAssignment": "Argument of type \"{argType}\" cannot be assigned to parameter of type \"{paramType}\"",
|
||||
"argAssignmentFunction": "Argument of type \"{argType}\" cannot be assigned to parameter of type \"{paramType}\" in function \"{functionName}\"",
|
||||
@@ -69,7 +69,7 @@
|
||||
"comment": "A comprehension is a 'set of looping and filtering instructions' applied to a collection to generate a new collection; the word may not be translatable"
|
||||
},
|
||||
"assignmentExprContext": "Assignment expression must be within module, function or lambda",
|
||||
"assignmentExprInSubscript": "Assignment expressions within a subscript are supported only in Python 3.10 and newer",
|
||||
"assignmentExprInSubscript": "Assignment expressions within a subscript are supported only in Viper 3.10 and newer",
|
||||
"assignmentInProtocol": {
|
||||
"message": "Instance or class variables within a Protocol class must be explicitly declared within the class body",
|
||||
"comment": "{Locked='Protocol'}"
|
||||
@@ -80,7 +80,7 @@
|
||||
"comment": "{Locked='async'}"
|
||||
},
|
||||
"awaitIllegal": {
|
||||
"message": "Use of \"await\" requires Python 3.5 or newer",
|
||||
"message": "Use of \"await\" requires Viper 3.5 or newer",
|
||||
"comment": "{Locked='await'}"
|
||||
},
|
||||
"awaitNotAllowed": {
|
||||
@@ -92,7 +92,7 @@
|
||||
"comment": "{Locked='await','async'}"
|
||||
},
|
||||
"backticksIllegal": {
|
||||
"message": "Expressions surrounded by backticks are not supported in Python 3.x; use repr instead",
|
||||
"message": "Expressions surrounded by backticks are not supported in Viper 3.x; use repr instead",
|
||||
"comment": "{Locked='repr'}"
|
||||
},
|
||||
"baseClassCircular": "Class cannot derive from itself",
|
||||
@@ -153,8 +153,8 @@
|
||||
"classPatternNewType": "\"{type}\" cannot be used in a class pattern because it is defined using NewType",
|
||||
"classPatternPositionalArgCount": "Too many positional patterns for class \"{type}\"; expected {expected} but received {received}",
|
||||
"classPatternTypeAlias": "\"{type}\" cannot be used in a class pattern because it is a specialized type alias",
|
||||
"classPropertyDeprecated": "Class properties are deprecated in Python 3.11 and will not be supported in Python 3.13",
|
||||
"classTypeParametersIllegal": "Class type parameter syntax requires Python 3.12 or newer",
|
||||
"classPropertyDeprecated": "Class properties are deprecated in Viper 3.11 and will not be supported in Viper 3.13",
|
||||
"classTypeParametersIllegal": "Class type parameter syntax requires Viper 3.12 or newer",
|
||||
"classVarFirstArgMissing": {
|
||||
"message": "Expected a type argument after \"ClassVar\"",
|
||||
"comment": "{Locked='ClassVar'}"
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "The setter for property \"{name}\" is deprecated",
|
||||
"comment": "{Locked='setter','property'}"
|
||||
},
|
||||
"deprecatedType": "This type is deprecated as of Python {version}; use \"{replacement}\" instead",
|
||||
"deprecatedType": "This type is deprecated as of Viper {version}; use \"{replacement}\" instead",
|
||||
"dictExpandIllegalInComprehension": {
|
||||
"message": "Dictionary expansion not allowed in comprehension",
|
||||
"comment": "A comprehension is a 'set of looping and filtering instructions' applied to a collection to generate a new collection; the word may not be translatable"
|
||||
@@ -359,7 +359,7 @@
|
||||
"comment": "{Locked='__before_init__'}"
|
||||
},
|
||||
"exceptionGroupIncompatible": {
|
||||
"message": "Exception group syntax (\"except*\") requires Python 3.11 or newer",
|
||||
"message": "Exception group syntax (\"except*\") requires Viper 3.11 or newer",
|
||||
"comment": "{Locked='except*'}"
|
||||
},
|
||||
"exceptGroupMismatch": {
|
||||
@@ -381,7 +381,7 @@
|
||||
"exceptionTypeNotClass": "\"{type}\" is not a valid exception class",
|
||||
"exceptionTypeNotInstantiable": "Constructor for exception type \"{type}\" requires one or more arguments",
|
||||
"exceptWithAsRequiresParens": "Multiple exception types must be parenthesized when using \"as\"",
|
||||
"exceptRequiresParens": "Multiple exception types must be parenthesized prior to Python 3.14",
|
||||
"exceptRequiresParens": "Multiple exception types must be parenthesized prior to Viper 3.14",
|
||||
"expectedAfterDecorator": "Expected function or class declaration after decorator",
|
||||
"expectedArrow": "Expected \"->\" followed by return type annotation",
|
||||
"expectedAsAfterException": {
|
||||
@@ -407,7 +407,7 @@
|
||||
"message": "Expected complex number literal for pattern matching",
|
||||
"comment": "Complex numbers are a mathematical concept consisting of a real number and an imaginary number"
|
||||
},
|
||||
"expectedDecoratorExpr": "Expression form not supported for decorator prior to Python 3.9",
|
||||
"expectedDecoratorExpr": "Expression form not supported for decorator prior to Viper 3.9",
|
||||
"expectedDecoratorName": "Expected decorator name",
|
||||
"expectedDecoratorNewline": "Expected new line at end of decorator",
|
||||
"expectedDelExpr": {
|
||||
@@ -537,52 +537,52 @@
|
||||
},
|
||||
"formatStringBrace": {
|
||||
"message": "Single close brace not allowed within f-string literal; use double close brace",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringBytes": {
|
||||
"message": "Format string literals (f-strings) cannot be binary",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringDebuggingIllegal": {
|
||||
"message": "F-string debugging specifier \"=\" requires Python 3.8 or newer",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"message": "F-string debugging specifier \"=\" requires Viper 3.8 or newer",
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringEscape": {
|
||||
"message": "Escape sequence (backslash) not allowed in expression portion of f-string prior to Python 3.12",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"message": "Escape sequence (backslash) not allowed in expression portion of f-string prior to Viper 3.12",
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringExpectedConversion": {
|
||||
"message": "Expected a conversion specifier after \"!\" in f-string",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringIllegal": {
|
||||
"message": "Format string literals (f-strings) require Python 3.6 or newer",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"message": "Format string literals (f-strings) require Viper 3.6 or newer",
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringInPattern": "Format string not allowed in pattern",
|
||||
"formatStringNestedFormatSpecifier": "Expressions nested too deeply within format string specifier",
|
||||
"formatStringNestedQuote": {
|
||||
"message": "Strings nested within an f-string cannot use the same quote character as the f-string prior to Python 3.12",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"message": "Strings nested within an f-string cannot use the same quote character as the f-string prior to Viper 3.12",
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringTemplate": {
|
||||
"message": "Format string literals (f-strings) cannot also be template strings (t-strings)",
|
||||
"comment": "'f-string' is the common English slang for a Python format string, 't-string' is the common English slang for a Python template string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string, 't-string' is the common English slang for a Viper template string"
|
||||
},
|
||||
"formatStringUnicode": {
|
||||
"message": "Format string literals (f-strings) cannot be unicode",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"formatStringUnterminated": {
|
||||
"message": "Unterminated expression in f-string; expecting \"}\"",
|
||||
"comment": "'f-string' is the common English slang for a Python format string"
|
||||
"comment": "'f-string' is the common English slang for a Viper format string"
|
||||
},
|
||||
"functionDecoratorTypeUnknown": "Untyped function decorator obscures type of function; ignoring decorator",
|
||||
"functionInConditionalExpression": {
|
||||
"message": "Conditional expression references function which always evaluates to True",
|
||||
"comment": "{Locked='True'}"
|
||||
},
|
||||
"functionTypeParametersIllegal": "Function type parameter syntax requires Python 3.12 or newer",
|
||||
"functionTypeParametersIllegal": "Function type parameter syntax requires Viper 3.12 or newer",
|
||||
"futureImportLocationNotAllowed": {
|
||||
"message": "Imports from __future__ must be at the beginning of the file",
|
||||
"comment": "{Locked='__future__'}"
|
||||
@@ -713,7 +713,7 @@
|
||||
"keywordSubscriptIllegal": "Keyword arguments within subscripts are not supported",
|
||||
"lambdaReturnTypePartiallyUnknown": "Return type of lambda, \"{returnType}\", is partially unknown",
|
||||
"lambdaReturnTypeUnknown": "Return type of lambda is unknown",
|
||||
"lazyImportIllegal": "Lazy import statement requires Python 3.15 or newer",
|
||||
"lazyImportIllegal": "Lazy import statement requires Viper 3.15 or newer",
|
||||
"lazyImportWildcardIllegal": "Wildcard imports cannot be used with 'lazy'",
|
||||
"listAssignmentMismatch": "Expression with type \"{type}\" cannot be assigned to target list",
|
||||
"listInAnnotation": {
|
||||
@@ -741,7 +741,7 @@
|
||||
"comment": "{Locked='Literal','None','int','bool','str','bytes','enum'}"
|
||||
},
|
||||
"matchIncompatible": {
|
||||
"message": "Match statements require Python 3.10 or newer",
|
||||
"message": "Match statements require Viper 3.10 or newer",
|
||||
"comment": ["{StrContains=i'match'}", "'match' is a keyword and should not be localized. It is only capitalized here because it is the first word in the sentence"]
|
||||
},
|
||||
"matchIsNotExhaustive": {
|
||||
@@ -931,7 +931,7 @@
|
||||
"obscuredParameterDeclaration": "Parameter declaration \"{name}\" is obscured by a declaration of the same name",
|
||||
"obscuredTypeAliasDeclaration": "Type alias declaration \"{name}\" is obscured by a declaration of the same name",
|
||||
"obscuredVariableDeclaration": "Declaration \"{name}\" is obscured by a declaration of the same name",
|
||||
"operatorLessOrGreaterDeprecated": "Operator \"<>\" is not supported in Python 3; use \"!=\" instead",
|
||||
"operatorLessOrGreaterDeprecated": "Operator \"<>\" is not supported in Viper 3; use \"!=\" instead",
|
||||
"optionalExtraArgs": {
|
||||
"message": "Expected one type argument after \"Optional\"",
|
||||
"comment": "{Locked='Optional'}"
|
||||
@@ -1047,7 +1047,7 @@
|
||||
"paramTypePartiallyUnknown": "Type of parameter \"{paramName}\" is partially unknown",
|
||||
"paramTypeUnknown": "Type of parameter \"{paramName}\" is unknown",
|
||||
"parenthesizedContextManagerIllegal": {
|
||||
"message": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"message": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"comment": "{Locked='with'}"
|
||||
},
|
||||
"patternNeverMatches": "Pattern will never be matched for subject type \"{type}\"",
|
||||
@@ -1057,7 +1057,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "\"/\" parameter must appear before \"*\" parameter",
|
||||
"positionOnlyAfterNon": "Position-only parameter not allowed after parameter that is not position-only",
|
||||
"positionOnlyFirstParam": "Position-only parameter separator not allowed as first parameter",
|
||||
"positionOnlyIncompatible": "Position-only parameter separator requires Python 3.8 or newer",
|
||||
"positionOnlyIncompatible": "Position-only parameter separator requires Viper 3.8 or newer",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" is not exported from module \"{module}\"",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" is private and used outside of the class in which it is declared",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" is private and used outside of the module in which it is declared",
|
||||
@@ -1079,7 +1079,7 @@
|
||||
"comment": "{Locked='Protocol'}"
|
||||
},
|
||||
"protocolIllegal": {
|
||||
"message": "Use of \"Protocol\" requires Python 3.7 or newer",
|
||||
"message": "Use of \"Protocol\" requires Viper 3.7 or newer",
|
||||
"comment": "{Locked='Protocol'}"
|
||||
},
|
||||
"protocolNotAllowed": {
|
||||
@@ -1253,7 +1253,7 @@
|
||||
"comment": ["{Locked='__getattr__'}", "{StrContains=i'stub'}"]
|
||||
},
|
||||
"sublistParamsIncompatible": {
|
||||
"message": "Sublist parameters are not supported in Python 3.x",
|
||||
"message": "Sublist parameters are not supported in Viper 3.x",
|
||||
"comment": "{StrContains=i'sublist'}"
|
||||
},
|
||||
"superCallArgCount": {
|
||||
@@ -1282,15 +1282,15 @@
|
||||
"symbolOverridden": "\"{name}\" overrides symbol of same name in class \"{className}\"",
|
||||
"templateStringBytes": {
|
||||
"message": "Template string literals (t-strings) cannot be binary",
|
||||
"comment": "'t-string' is the common English slang for a Python template string"
|
||||
"comment": "'t-string' is the common English slang for a Viper template string"
|
||||
},
|
||||
"templateStringIllegal": {
|
||||
"message": "Template string literals (t-strings) require Python 3.14 or newer",
|
||||
"comment": "'t-string' is the common English slang for a Python template string"
|
||||
"message": "Template string literals (t-strings) require Viper 3.14 or newer",
|
||||
"comment": "'t-string' is the common English slang for a Viper template string"
|
||||
},
|
||||
"templateStringUnicode": {
|
||||
"message": "Template string literals (t-strings) cannot be unicode",
|
||||
"comment": "'t-string' is the common English slang for a Python template string"
|
||||
"comment": "'t-string' is the common English slang for a Viper template string"
|
||||
},
|
||||
"ternaryNotAllowed": "Ternary expression not allowed in type expression",
|
||||
"totalOrderingMissingMethod": {
|
||||
@@ -1325,7 +1325,7 @@
|
||||
"message": "A type statement can be used only within a module or class scope",
|
||||
"comment": "{Locked='type'}"
|
||||
},
|
||||
"typeAliasStatementIllegal": "Type alias statement requires Python 3.12 or newer",
|
||||
"typeAliasStatementIllegal": "Type alias statement requires Viper 3.12 or newer",
|
||||
"typeAliasTypeBadScope": "A type alias can be defined only within a module or class scope",
|
||||
"typeAliasTypeBaseClass": {
|
||||
"message": "A type alias defined in a \"type\" statement cannot be used as a base class",
|
||||
@@ -1450,7 +1450,7 @@
|
||||
"message": "TypeVar default type must be one of the constrained types",
|
||||
"comment": "{Locked='TypeVar'}"
|
||||
},
|
||||
"typeVarDefaultIllegal": "Type variable default types require Python 3.13 or newer",
|
||||
"typeVarDefaultIllegal": "Type variable default types require Viper 3.13 or newer",
|
||||
"typeVarDefaultInvalidTypeVar": "Type parameter \"{name}\" has a default type that refers to one or more type variables that are out of scope",
|
||||
"typeVarFirstArg": {
|
||||
"message": "Expected name of TypeVar as first argument",
|
||||
@@ -1636,7 +1636,7 @@
|
||||
"comment": "{Locked='Union'}"
|
||||
},
|
||||
"unionSyntaxIllegal": {
|
||||
"message": "Alternative syntax for unions requires Python 3.10 or newer",
|
||||
"message": "Alternative syntax for unions requires Viper 3.10 or newer",
|
||||
"comment": "'unions' as in the mathematical set theory term"
|
||||
},
|
||||
"unionTypeArgCount": {
|
||||
@@ -1711,7 +1711,7 @@
|
||||
},
|
||||
"unpackOperatorNotAllowed": "Unpack operation is not allowed in this context",
|
||||
"unpackTuplesIllegal": {
|
||||
"message": "Unpack operation not allowed in tuples prior to Python 3.8",
|
||||
"message": "Unpack operation not allowed in tuples prior to Viper 3.8",
|
||||
"comment": "'tuple' is a keyword and should not be localized, but here it is pluralized"
|
||||
},
|
||||
"unpackedArgInTypeArgument": "Unpacked arguments cannot be used in this context",
|
||||
@@ -1724,7 +1724,7 @@
|
||||
"comment": "{Locked='str'}"
|
||||
},
|
||||
"unpackedDictSubscriptIllegal": "Dictionary unpack operator in subscript is not allowed",
|
||||
"unpackedSubscriptIllegal": "Unpack operator in subscript requires Python 3.11 or newer",
|
||||
"unpackedSubscriptIllegal": "Unpack operator in subscript requires Viper 3.11 or newer",
|
||||
"unpackedTypeVarTupleExpected": {
|
||||
"message": "Expected unpacked TypeVarTuple; use Unpack[{name1}] or *{name2}",
|
||||
"comment": "{Locked='TypeVarTuple','Unpack[{name1}]','*{name2}'}"
|
||||
@@ -1751,7 +1751,7 @@
|
||||
},
|
||||
"unusedExpression": "Expression value is unused",
|
||||
"varAnnotationIllegal": {
|
||||
"message": "Type annotations for variables requires Python 3.6 or newer; use type comment for compatibility with previous versions",
|
||||
"message": "Type annotations for variables requires Viper 3.6 or newer; use type comment for compatibility with previous versions",
|
||||
"comment": "{Locked='type'}"
|
||||
},
|
||||
"variableFinalOverride": {
|
||||
@@ -1770,7 +1770,7 @@
|
||||
"message": "Generic class can have at most one TypeVarTuple type parameter but received multiple ({names})",
|
||||
"comment": ["{Locked='TypeVarTuple'}", "A generic type is a parameterized type, for example a container where the generic type parameter specifies the type of elements in the container"]
|
||||
},
|
||||
"walrusIllegal": "Operator \":=\" requires Python 3.8 or newer",
|
||||
"walrusIllegal": "Operator \":=\" requires Viper 3.8 or newer",
|
||||
"walrusNotAllowed": "Operator \":=\" is not allowed in this context without surrounding parentheses",
|
||||
"wildcardInFunction": {
|
||||
"message": "Wildcard import not allowed within a class or function",
|
||||
@@ -1783,7 +1783,7 @@
|
||||
"wildcardPatternTypePartiallyUnknown": "Type captured by wildcard pattern is partially unknown",
|
||||
"wildcardPatternTypeUnknown": "Type captured by wildcard pattern is unknown",
|
||||
"yieldFromIllegal": {
|
||||
"message": "Use of \"yield from\" requires Python 3.3 or newer",
|
||||
"message": "Use of \"yield from\" requires Viper 3.3 or newer",
|
||||
"comment": "{Locked='yield from'}"
|
||||
},
|
||||
"yieldFromOutsideAsync": {
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "Error de coincidencia \"assert_type\": se esperaba \"{expected}\" pero se ha recibido \"{received}\"",
|
||||
"assignmentExprComprehension": "El destino de la expresión de asignación \"{name}\" no puede usar el mismo nombre que la comprensión para el destino",
|
||||
"assignmentExprContext": "La expresión de asignación debe estar dentro de un módulo, función o lambda",
|
||||
"assignmentExprInSubscript": "Las expresiones de asignación dentro de un subíndice solo se admiten en Python 3.10 y versiones posteriores.",
|
||||
"assignmentExprInSubscript": "Las expresiones de asignación dentro de un subíndice solo se admiten en Viper 3.10 y versiones posteriores.",
|
||||
"assignmentInProtocol": "Las variables de instancia o clase dentro de una clase Protocol deben declararse explícitamente en el cuerpo de la clase.",
|
||||
"assignmentTargetExpr": "La expresión no puede ser objetivo de asignación",
|
||||
"asyncNotInAsyncFunction": "No se permite el uso de \"async\" fuera de la función async",
|
||||
"awaitIllegal": "El uso de \"await\" requiere Python 3.5 o posterior.",
|
||||
"awaitIllegal": "El uso de \"await\" requiere Viper 3.5 o posterior.",
|
||||
"awaitNotAllowed": "Las expresiones de tipo no pueden usar \"await\"",
|
||||
"awaitNotInAsync": "\"await\" solo se permite dentro de una función async",
|
||||
"backticksIllegal": "En Python 3.x no se admiten expresiones rodeadas de puntos suspensivos; utilice repr en su lugar.",
|
||||
"backticksIllegal": "En Viper 3.x no se admiten expresiones rodeadas de puntos suspensivos; utilice repr en su lugar.",
|
||||
"baseClassCircular": "La clase no se puede derivar de sí misma",
|
||||
"baseClassFinal": "La clase base \"{type}\" está marcada como final y no puede ser subclasificada",
|
||||
"baseClassIncompatible": "Las clases base de {type} son mutuamente incompatibles",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "\"{type}\" no se puede usar en un patrón de clase porque se define mediante NewType",
|
||||
"classPatternPositionalArgCount": "Demasiados patrones posicionales para la clase \"{type}\"; esperado {expected} pero recibido {received}",
|
||||
"classPatternTypeAlias": "\"{type}\" no se puede usar en un patrón de clase porque es un alias de tipo especializado",
|
||||
"classPropertyDeprecated": "Las propiedades de clase están en desuso en Python 3.11 y no se admitirán en Python 3.13.",
|
||||
"classTypeParametersIllegal": "La sintaxis de los parámetros de tipo de clase requiere Python 3.12 o posterior.",
|
||||
"classPropertyDeprecated": "Las propiedades de clase están en desuso en Viper 3.11 y no se admitirán en Viper 3.13.",
|
||||
"classTypeParametersIllegal": "La sintaxis de los parámetros de tipo de clase requiere Viper 3.12 o posterior.",
|
||||
"classVarFirstArgMissing": "Se esperaba un argumento de tipo después de \"ClassVar\"",
|
||||
"classVarNotAllowed": "\"ClassVar\" no está permitido en este contexto",
|
||||
"classVarOverridesInstanceVar": "La variable de clase \"{name}\" anula la variable de instancia del mismo nombre en la clase \"{className}\"",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "El deleter de la property \"{name}\" está en desuso",
|
||||
"deprecatedPropertyGetter": "El getter de la property \"{name}\" está en desuso",
|
||||
"deprecatedPropertySetter": "El setter de la property \"{name}\" está en desuso",
|
||||
"deprecatedType": "Este tipo está obsoleto a partir de la {version} de Python; utilice en su lugar \"{replacement}\".",
|
||||
"deprecatedType": "Este tipo está obsoleto a partir de la {version} de Viper; utilice en su lugar \"{replacement}\".",
|
||||
"dictExpandIllegalInComprehension": "No se permite la ampliación del diccionario en la comprensión",
|
||||
"dictInAnnotation": "Expresión de diccionario no permitida en expresión de tipo",
|
||||
"dictKeyValuePairs": "Las entradas del diccionario deben contener pares clave/valor",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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",
|
||||
"exceptRequiresParens": "Se deben incluir entre paréntesis varios tipos de excepción antes de Python 3.14",
|
||||
"exceptRequiresParens": "Se deben incluir entre paréntesis varios tipos de excepción antes de Viper 3.14",
|
||||
"exceptWithAsRequiresParens": "Se deben incluir entre paréntesis varios tipos de excepción al usar \"as\"",
|
||||
"exceptionGroupIncompatible": "La sintaxis de grupo de excepciones (\"except*\") requiere Python 3.11 o posterior.",
|
||||
"exceptionGroupIncompatible": "La sintaxis de grupo de excepciones (\"except*\") requiere Viper 3.11 o posterior.",
|
||||
"exceptionGroupTypeIncorrect": "El tipo de excepción en except* no puede derivarse de BaseGroupException",
|
||||
"exceptionTypeIncorrect": "\"{type}\" no se deriva de BaseException",
|
||||
"exceptionTypeNotClass": "\"{type}\" no es una clase de excepción válida",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" no estaba cerrado",
|
||||
"expectedColon": "Se esperaba \":\"",
|
||||
"expectedComplexNumberLiteral": "Número complejo literal esperado para la concordancia de patrones",
|
||||
"expectedDecoratorExpr": "Forma de expresión no compatible con Decorator anterior a Python 3.9",
|
||||
"expectedDecoratorExpr": "Forma de expresión no compatible con Decorator anterior a Viper 3.9",
|
||||
"expectedDecoratorName": "Nombre esperado del Decorator",
|
||||
"expectedDecoratorNewline": "Nueva línea esperada al final de Decorator",
|
||||
"expectedDelExpr": "Expresión esperada después de \"del\"",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "No se puede usar un elemento \"return\" para salir de un bloque \"finally\"",
|
||||
"formatStringBrace": "No se permite una llave de cierre única dentro del literal de cadena f; usar llave de cierre doble",
|
||||
"formatStringBytes": "Los literales de cadena de formato (f-strings) no pueden ser binarios",
|
||||
"formatStringDebuggingIllegal": "El especificador de depuración de cadena F \"=\" requiere Python 3.8 o posterior",
|
||||
"formatStringEscape": "Secuencia de escape (barra diagonal inversa) no permitida en la parte de expresión de f-string anterior a Python 3.12",
|
||||
"formatStringDebuggingIllegal": "El especificador de depuración de cadena F \"=\" requiere Viper 3.8 o posterior",
|
||||
"formatStringEscape": "Secuencia de escape (barra diagonal inversa) no permitida en la parte de expresión de f-string anterior a Viper 3.12",
|
||||
"formatStringExpectedConversion": "Se esperaba un especificador de conversión después de \"!\" en f-string",
|
||||
"formatStringIllegal": "Los literales de cadena de formato (f-strings) requieren Python 3.6 o posterior",
|
||||
"formatStringIllegal": "Los literales de cadena de formato (f-strings) requieren Viper 3.6 o posterior",
|
||||
"formatStringInPattern": "Cadena de formato no permitida en el patrón",
|
||||
"formatStringNestedFormatSpecifier": "Expresiones anidadas demasiado profundamente dentro del especificador de cadena de formato",
|
||||
"formatStringNestedQuote": "Las cadenas anidadas dentro de una cadena f no pueden usar el mismo carácter de comillas que la cadena f anterior a Python 3.12",
|
||||
"formatStringNestedQuote": "Las cadenas anidadas dentro de una cadena f no pueden usar el mismo carácter de comillas que la cadena f anterior a Viper 3.12",
|
||||
"formatStringTemplate": "Los literales de cadena de formato (f-strings) tampoco pueden ser cadenas de plantilla (cadenas t)",
|
||||
"formatStringUnicode": "Los literales de cadena de formato (cadenas f) no pueden ser unicode",
|
||||
"formatStringUnterminated": "Expresión sin terminar en f-string; se esperaba \"}\"",
|
||||
"functionDecoratorTypeUnknown": "Un decorator de función no tipificado oculta el tipo de función; ignorar el decorator",
|
||||
"functionInConditionalExpression": "La expresión condicional hace referencia a una función que siempre se evalúa como True",
|
||||
"functionTypeParametersIllegal": "La sintaxis del parámetro de tipo de función requiere Python 3.12 o posterior",
|
||||
"functionTypeParametersIllegal": "La sintaxis del parámetro de tipo de función requiere Viper 3.12 o posterior",
|
||||
"futureImportLocationNotAllowed": "Las importaciones desde __future__ deben estar al principio del fichero",
|
||||
"generatorAsyncReturnType": "El tipo de retorno de la función generadora async debe ser compatible con \"AsyncGenerator[{yieldType}, Any]\"",
|
||||
"generatorNotParenthesized": "Las expresiones del generador deben ir entre paréntesis si no son el único argumento",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "\"Literal\" no se puede usar en este contexto sin un argumento de tipo",
|
||||
"literalNotCallable": "El tipo Literal no puede instanciarse",
|
||||
"literalUnsupportedType": "Los argumentos de tipo para \"Literal\" deben ser None, un valor literal (int, bool, str, o bytes), o un valor enum",
|
||||
"matchIncompatible": "Las declaraciones de Match requieren Python 3.10 o posterior",
|
||||
"matchIncompatible": "Las declaraciones de Match requieren Viper 3.10 o posterior",
|
||||
"matchIsNotExhaustive": "Los casos dentro de la declaración de match no tratan exhaustivamente todos los valores",
|
||||
"maxParseDepthExceeded": "Se ha superado la profundidad máxima de análisis; divida la expresión en subexpresiones más pequeñas.",
|
||||
"memberAccess": "No se puede tener acceso al atributo \"{name}\" para la clase \"{type}\"",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "La declaración de parámetro \"{name}\" queda oculta por una declaración del mismo nombre",
|
||||
"obscuredTypeAliasDeclaration": "La declaración de alias de tipo \"{name}\" queda oculta por una declaración del mismo nombre",
|
||||
"obscuredVariableDeclaration": "La declaración \"{name}\" está oculta por una declaración del mismo nombre",
|
||||
"operatorLessOrGreaterDeprecated": "El operador \"<>\" no es admitido en Python 3; utilice en su lugar \"!=\".",
|
||||
"operatorLessOrGreaterDeprecated": "El operador \"<>\" no es admitido en Viper 3; utilice en su lugar \"!=\".",
|
||||
"optionalExtraArgs": "Se esperaba un argumento de tipo después de \"Optional\"",
|
||||
"orPatternIrrefutable": "El patrón irrefutable solo se permite como el último subpatrón en un patrón \"or\".",
|
||||
"orPatternMissingName": "Todos los subpatrones de un patrón \"or\" deben tener los mismos nombres",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "La variable de tipo covariante no puede utilizarse en el tipo de parámetro",
|
||||
"paramTypePartiallyUnknown": "El tipo de parámetro \"{paramName}\" es parcialmente desconocido",
|
||||
"paramTypeUnknown": "Se desconoce el tipo del parámetro \"{paramName}\".",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "El patrón nunca coincidirá para el tipo de asunto \"{type}\"",
|
||||
"positionArgAfterNamedArg": "El argumento posicional no puede aparecer después de los argumentos de palabra clave",
|
||||
"positionArgAfterUnpackedDictArg": "El argumento posicional no puede aparecer después de desempaquetar el argumento de palabra clave",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "El parámetro \"/\" debe aparecer antes del parámetro \"*\".",
|
||||
"positionOnlyAfterNon": "Parámetro de un solo puesto no permitido después del parámetro que no es de solo posición",
|
||||
"positionOnlyFirstParam": "Separador parámetros de solo un puesto no permitido como primer parámetro",
|
||||
"positionOnlyIncompatible": "El separador de parámetros de un solo puesto requiere Python 3.8 o posterior",
|
||||
"positionOnlyIncompatible": "El separador de parámetros de un solo puesto requiere Viper 3.8 o posterior",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" no se exporta desde el módulo \"{module}\"",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" es privado y se utiliza fuera de la clase en la que se declara",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" es privado y se utiliza fuera del módulo en el que se declara",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" está protegido y se usa fuera de la clase en la que se declara",
|
||||
"protocolBaseClass": "La clase de Protocol \"{classType}\" no se puede derivar de la clase que no es Protocol \"{baseType}\"",
|
||||
"protocolBaseClassWithTypeArgs": "No se permiten argumentos de tipo con la clase Protocol cuando se usa la sintaxis de parámetro de tipo",
|
||||
"protocolIllegal": "El uso de \"Protocolo\" requiere Python 3.7 o posterior.",
|
||||
"protocolIllegal": "El uso de \"Protocolo\" requiere Viper 3.7 o posterior.",
|
||||
"protocolNotAllowed": "\"Protocolo\" no puede utilizarse en este contexto",
|
||||
"protocolTypeArgMustBeTypeParam": "El argumento de tipo para \"Protocol\" debe ser un parámetro de tipo",
|
||||
"protocolUnsafeOverlap": "La clase se superpone \"{name}\" de forma no segura y podría producir una coincidencia en tiempo de ejecución",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "La cadena literal no está terminada",
|
||||
"stubFileMissing": "Archivo Stub no encontrado para \"{importName}\"",
|
||||
"stubUsesGetAttr": "El archivo stub de tipo está incompleto; \"__getattr__\" oculta errores de tipo para el módulo",
|
||||
"sublistParamsIncompatible": "Los parámetros de sublista no están soportados en Python 3.x",
|
||||
"sublistParamsIncompatible": "Los parámetros de sublista no están soportados en Viper 3.x",
|
||||
"superCallArgCount": "No se esperaban más de dos argumentos para la llamada \"super\"",
|
||||
"superCallFirstArg": "Se esperaba el tipo de clase como primer argumento de la llamada a \"super\" pero se recibió \"{type}\"",
|
||||
"superCallSecondArg": "El segundo argumento de la llamada a \"super\" debe ser un objeto o clase que derive de \"{type}\"",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" no está definido",
|
||||
"symbolOverridden": "\"{name}\" anula el símbolo del mismo nombre en la clase \"{className}\"",
|
||||
"templateStringBytes": "Los literales de cadena de plantilla (cadenas t) no pueden ser binarios",
|
||||
"templateStringIllegal": "Los literales de cadena de plantilla (cadenas t) requieren Python 3.14 o posterior",
|
||||
"templateStringIllegal": "Los literales de cadena de plantilla (cadenas t) requieren Viper 3.14 o posterior",
|
||||
"templateStringUnicode": "Los literales de cadena de plantilla (cadenas t) no pueden ser Unicode",
|
||||
"ternaryNotAllowed": "No se permite la expresión de ternario en la expresión de tipo",
|
||||
"totalOrderingMissingMethod": "La clase debe definir uno de \"__lt__\", \"__le__\", \"__gt__\", o \"__ge__\" para utilizar total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "Un TypeAlias solo puede definirse en el ámbito de un módulo o de una clase",
|
||||
"typeAliasRedeclared": "\"{name}\" se declara como TypeAlias y solo puede asignarse una vez",
|
||||
"typeAliasStatementBadScope": "Una instrucción de type solo se puede usar en el ámbito de un módulo o de una clase",
|
||||
"typeAliasStatementIllegal": "La sentencia Type alias requiere Python 3.12 o posterior",
|
||||
"typeAliasStatementIllegal": "La sentencia Type alias requiere Viper 3.12 o posterior",
|
||||
"typeAliasTypeBadScope": "Un alias de tipo solo se puede definir dentro de un ámbito de módulo o clase",
|
||||
"typeAliasTypeBaseClass": "Un alias de tipo definido en una instrucción \"type\" no se puede usar como clase base",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType debe asignarse a una variable con el mismo nombre que el alias de tipo",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "El tipo de restricción TypeVar no puede ser genérico",
|
||||
"typeVarDefaultBoundMismatch": "El tipo predeterminado TypeVar debe ser un subtipo del tipo enlazado.",
|
||||
"typeVarDefaultConstraintMismatch": "El tipo predeterminado TypeVar debe ser uno de los tipos restringidos.",
|
||||
"typeVarDefaultIllegal": "Los tipos predeterminados de variable de tipo requieren Python 3.13 o posterior",
|
||||
"typeVarDefaultIllegal": "Los tipos predeterminados de variable de tipo requieren Viper 3.13 o posterior",
|
||||
"typeVarDefaultInvalidTypeVar": "El parámetro de tipo \"{name}\" tiene un tipo por defecto que hace referencia a una o más variables de tipo que están fuera de ámbito.",
|
||||
"typeVarFirstArg": "Nombre esperado de TypeVar como primer argumento",
|
||||
"typeVarInvalidForMemberVariable": "El tipo de atributo no puede usar una variable de tipo \"{name}\" con ámbito de método local",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Las variables definidas en la clase base abstracta no se inicializan en la clase final \"{classType}\"",
|
||||
"uninitializedInstanceVariable": "La variable de instancia \"{name}\" no está inicializada en el cuerpo de la clase o en el método __init__.",
|
||||
"unionForwardReferenceNotAllowed": "Union syntax cannot be used with string operand; use quotes around entire expression",
|
||||
"unionSyntaxIllegal": "La sintaxis alternativa para las uniones requiere Python 3.10 o posterior.",
|
||||
"unionSyntaxIllegal": "La sintaxis alternativa para las uniones requiere Viper 3.10 o posterior.",
|
||||
"unionTypeArgCount": "Union requiere dos o más argumentos de tipo",
|
||||
"unionUnpackedTuple": "La Union no puede incluir una tuple desempaquetada",
|
||||
"unionUnpackedTypeVarTuple": "La Union no puede incluir un TypeVarTuple desempaquetado",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "No se permite el operador Unpack dentro de un set",
|
||||
"unpackNotAllowed": "Unpack no está permitido en este contexto",
|
||||
"unpackOperatorNotAllowed": "La operación de desempaquetado no está permitida en este contexto",
|
||||
"unpackTuplesIllegal": "Operación de desempaquetado no permitida en tuplas anteriores a Python 3.8",
|
||||
"unpackTuplesIllegal": "Operación de desempaquetado no permitida en tuplas anteriores a Viper 3.8",
|
||||
"unpackedArgInTypeArgument": "No se pueden usar argumentos sin empaquetar en este contexto",
|
||||
"unpackedArgWithVariadicParam": "No se puede usar un argumento desempaquetado para el parámetro TypeVarTuple",
|
||||
"unpackedDictArgumentNotMapping": "La expresión del argumento después de ** debe ser un mapeo con un tipo de clave \"str\".",
|
||||
"unpackedDictSubscriptIllegal": "El operador de desempaquetado del diccionario en el subíndice no está permitido",
|
||||
"unpackedSubscriptIllegal": "El operador de desempaquetado en el subíndice requiere Python 3.11 o posterior.",
|
||||
"unpackedSubscriptIllegal": "El operador de desempaquetado en el subíndice requiere Viper 3.11 o posterior.",
|
||||
"unpackedTypeVarTupleExpected": "Se espera un TypeVarTuple desempaquetado; use Unpack[{name1}] o *{name2}",
|
||||
"unpackedTypedDictArgument": "No se puede emparejar el argumento TypedDict desempaquetado con los parámetros",
|
||||
"unreachableCodeCondition": "El código no se analiza porque la condición se evalúa estáticamente como false",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "El resultado de la expresión de llamada es de tipo \"{type}\" y no se usa; asignar a la variable \"_\" si esto es intencionado",
|
||||
"unusedCoroutine": "El resultado de la llamada a una función async no se utiliza; utilice \"await\" o asigne el resultado a una variable.",
|
||||
"unusedExpression": "El valor de expresión no se usa",
|
||||
"varAnnotationIllegal": "Las anotaciones de type para variables requieren Python 3.6 o posterior; utilice el comentario de tipo para la compatibilidad con versiones anteriores.",
|
||||
"varAnnotationIllegal": "Las anotaciones de type para variables requieren Viper 3.6 o posterior; utilice el comentario de tipo para la compatibilidad con versiones anteriores.",
|
||||
"variableFinalOverride": "La variable \"{name}\" está marcada como Final y anula la variable no Final del mismo nombre en la clase \"{className}\".",
|
||||
"variadicTypeArgsTooMany": "La lista de argumentos de tipo puede tener como máximo una TypeVarTuple o tuple desempaquetada",
|
||||
"variadicTypeParamTooManyAlias": "Los alias de tipo pueden tener como máximo un parámetro de tipo TypeVarTuple, pero reciben varios ({names})",
|
||||
"variadicTypeParamTooManyClass": "La clase genérica puede tener como máximo un parámetro de tipo TypeVarTuple pero recibió múltiples ({names})",
|
||||
"walrusIllegal": "El operador \":=\" requiere Python 3.8 o posterior",
|
||||
"walrusIllegal": "El operador \":=\" requiere Viper 3.8 o posterior",
|
||||
"walrusNotAllowed": "El operador \":=\" no está permitido en este contexto sin paréntesis alrededor",
|
||||
"wildcardInFunction": "No se permite la importación de comodines dentro de una clase o función",
|
||||
"wildcardLibraryImport": "No se permite la importación de caracteres comodín desde una biblioteca",
|
||||
"wildcardPatternTypePartiallyUnknown": "El tipo capturado por el patrón comodín es parcialmente desconocido",
|
||||
"wildcardPatternTypeUnknown": "Se desconoce el tipo capturado por el patrón de caracteres comodín",
|
||||
"yieldFromIllegal": "El uso de \"yield from\" requiere Python 3.3 o posterior.",
|
||||
"yieldFromIllegal": "El uso de \"yield from\" requiere Viper 3.3 o posterior.",
|
||||
"yieldFromOutsideAsync": "\"yield from\" no permitido en una función async",
|
||||
"yieldOutsideFunction": "\"yield\" no se permite fuera de una función o lambda",
|
||||
"yieldWithinComprehension": "\"yield\" no está permitido dentro de una comprensión de lista",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "Non-concordance de « assert_type » : « {expected} » attendu, mais « {received} »",
|
||||
"assignmentExprComprehension": "La cible d'expression d'affectation \"{name}\" ne peut pas utiliser le même nom que la compréhension pour la cible",
|
||||
"assignmentExprContext": "L’expression d’assignation doit se trouver dans le module, la fonction ou l’expression lambda",
|
||||
"assignmentExprInSubscript": "Les expressions d’assignation dans un indice sont prises en charge uniquement dans Python 3.10 et versions ultérieures",
|
||||
"assignmentExprInSubscript": "Les expressions d’assignation dans un indice sont prises en charge uniquement dans Viper 3.10 et versions ultérieures",
|
||||
"assignmentInProtocol": "Les variables d'instance ou de classe au sein d'une classe Protocol doivent être explicitement déclarées dans le corps de la classe",
|
||||
"assignmentTargetExpr": "L’expression ne peut pas être une cible d’assignation",
|
||||
"asyncNotInAsyncFunction": "L'utilisation de \"async\" n'est pas autorisée en dehors de la fonction async",
|
||||
"awaitIllegal": "L’utilisation de « await » nécessite Python 3.5 ou version ultérieure",
|
||||
"awaitIllegal": "L’utilisation de « await » nécessite Viper 3.5 ou version ultérieure",
|
||||
"awaitNotAllowed": "Les expressions de type ne peuvent pas utiliser « await »",
|
||||
"awaitNotInAsync": "« await » autorisé uniquement dans la fonction asynchrone",
|
||||
"backticksIllegal": "Les expressions entourées de accents inverses ne sont pas prises en charge dans Python 3.x; utiliser repr à la place",
|
||||
"backticksIllegal": "Les expressions entourées de accents inverses ne sont pas prises en charge dans Viper 3.x; utiliser repr à la place",
|
||||
"baseClassCircular": "La classe ne peut pas dériver d'elle-même",
|
||||
"baseClassFinal": "La classe de base « {type} » est marquée comme finale et ne peut pas être sous-classée",
|
||||
"baseClassIncompatible": "Les classes de base de {type} sont mutuellement incompatibles",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "« {type} » ne peut pas être utilisé dans un modèle de classe, car il est défini à l’aide de NewType",
|
||||
"classPatternPositionalArgCount": "Trop de modèles positionnels pour les \"{type}\" de classe ; {expected} attendue mais {received} reçues",
|
||||
"classPatternTypeAlias": "\"{type}\" ne peut pas être utilisé dans un modèle de classe car il s'agit d'un alias de type spécialisé",
|
||||
"classPropertyDeprecated": "Les propriétés de classe sont obsolètes dans Python 3.11 et ne seront pas prises en charge dans Python 3.13",
|
||||
"classTypeParametersIllegal": "La syntaxe du paramètre de type de classe nécessite Python 3.12 ou version ultérieure",
|
||||
"classPropertyDeprecated": "Les propriétés de classe sont obsolètes dans Viper 3.11 et ne seront pas prises en charge dans Viper 3.13",
|
||||
"classTypeParametersIllegal": "La syntaxe du paramètre de type de classe nécessite Viper 3.12 ou version ultérieure",
|
||||
"classVarFirstArgMissing": "Attendu un argument de type après \"ClassVar\"",
|
||||
"classVarNotAllowed": "« ClassVar » n’est pas autorisé dans ce contexte",
|
||||
"classVarOverridesInstanceVar": "La variable de classe « {name} » remplace la variable d’instance du même nom dans la classe « {className} »",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "Le deleter de la property « {name} » est déconseillé",
|
||||
"deprecatedPropertyGetter": "Le getter de la property « {name} » est déconseillé",
|
||||
"deprecatedPropertySetter": "Le setter de la property « {name} » est déconseillé",
|
||||
"deprecatedType": "Ce type est déconseillé à compter de Python {version}; utiliser « {replacement} » à la place",
|
||||
"deprecatedType": "Ce type est déconseillé à compter de Viper {version}; utiliser « {replacement} » à la place",
|
||||
"dictExpandIllegalInComprehension": "Expansion du dictionnaire non autorisée dans la compréhension",
|
||||
"dictInAnnotation": "Expression de dictionnaire non autorisée dans l'expression de type",
|
||||
"dictKeyValuePairs": "Les entrées de dictionnaire doivent contenir des paires clé/valeur",
|
||||
@@ -163,9 +163,9 @@
|
||||
"enumMemberTypeAnnotation": "Les annotations de type ne sont pas autorisées pour les membres enum",
|
||||
"exceptGroupMismatch": "L’instruction Try ne peut pas inclure à la fois « except » et « except* »",
|
||||
"exceptGroupRequiresType": "La syntaxe du groupe d’exceptions (« except* ») nécessite un type d’exception",
|
||||
"exceptRequiresParens": "Plusieurs types d’exception doivent être entre parenthèses avant Python 3.14",
|
||||
"exceptRequiresParens": "Plusieurs types d’exception doivent être entre parenthèses avant Viper 3.14",
|
||||
"exceptWithAsRequiresParens": "Plusieurs types d’exception doivent être entre parenthèses lors de l’utilisation de « as »",
|
||||
"exceptionGroupIncompatible": "La syntaxe du groupe d’exceptions (« except* ») nécessite Python 3.11 ou version ultérieure",
|
||||
"exceptionGroupIncompatible": "La syntaxe du groupe d’exceptions (« except* ») nécessite Viper 3.11 ou version ultérieure",
|
||||
"exceptionGroupTypeIncorrect": "Le type d’exception dans except* ne peut pas dériver de BaseGroupException",
|
||||
"exceptionTypeIncorrect": "\"{type}\" ne dérive pas de BaseException",
|
||||
"exceptionTypeNotClass": "« {type} » n’est pas une classe d’exception valide",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "« ( » n’a pas été fermé",
|
||||
"expectedColon": "« : » attendu",
|
||||
"expectedComplexNumberLiteral": "Littéral de nombre complexe attendu pour la correspondance de modèle",
|
||||
"expectedDecoratorExpr": "Formulaire d’expression non pris en charge pour l’élément décoratif antérieur à Python 3.9",
|
||||
"expectedDecoratorExpr": "Formulaire d’expression non pris en charge pour l’élément décoratif antérieur à Viper 3.9",
|
||||
"expectedDecoratorName": "Nom de l’élément décoratif attendu",
|
||||
"expectedDecoratorNewline": "Nouvelle ligne attendue à la fin de l’élément décoratif",
|
||||
"expectedDelExpr": "Expression attendue après « del »",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Vous ne pouvez pas utiliser « return » pour quitter un bloc « finally »",
|
||||
"formatStringBrace": "Accolade fermante unique non autorisée dans le littéral f-string ; utiliser une double accolade fermée",
|
||||
"formatStringBytes": "Les littéraux de chaîne de format (chaînes f) ne peuvent pas être binaires",
|
||||
"formatStringDebuggingIllegal": "Le spécificateur de débogage de chaîne F \"=\" nécessite Python 3.8 ou une version plus récente",
|
||||
"formatStringEscape": "Séquence d'échappement (barre oblique inverse) non autorisée dans la partie expression de la chaîne f avant Python 3.12",
|
||||
"formatStringDebuggingIllegal": "Le spécificateur de débogage de chaîne F \"=\" nécessite Viper 3.8 ou une version plus récente",
|
||||
"formatStringEscape": "Séquence d'échappement (barre oblique inverse) non autorisée dans la partie expression de la chaîne f avant Viper 3.12",
|
||||
"formatStringExpectedConversion": "Spécificateur de conversion attendu après « ! » dans f-string",
|
||||
"formatStringIllegal": "Les littéraux de chaîne de format (chaînes f) nécessitent Python 3.6 ou une version plus récente",
|
||||
"formatStringIllegal": "Les littéraux de chaîne de format (chaînes f) nécessitent Viper 3.6 ou une version plus récente",
|
||||
"formatStringInPattern": "Chaîne de format non autorisée dans le modèle",
|
||||
"formatStringNestedFormatSpecifier": "Expressions imbriqués trop profondément dans le spécificateur de chaîne de format",
|
||||
"formatStringNestedQuote": "Les chaînes imbriquées dans une chaîne f ne peuvent pas utiliser le même guillemet que la chaîne f avant Python 3.12",
|
||||
"formatStringNestedQuote": "Les chaînes imbriquées dans une chaîne f ne peuvent pas utiliser le même guillemet que la chaîne f avant Viper 3.12",
|
||||
"formatStringTemplate": "Les littéraux de chaîne de format (f-strings) ne peuvent pas non plus être des chaînes de modèle (t-strings)",
|
||||
"formatStringUnicode": "Les littéraux de chaîne de format (f-strings) ne peuvent pas être unicode",
|
||||
"formatStringUnterminated": "Expression non terminée dans f-string ; attendant \"}\"",
|
||||
"functionDecoratorTypeUnknown": "Le décorateur de fonction non typé masque le type de fonction ; élément décoratif ignoré",
|
||||
"functionInConditionalExpression": "L’expression conditionnelle fait référence à une fonction qui prend toujours la valeur True",
|
||||
"functionTypeParametersIllegal": "La syntaxe des paramètres de type de fonction nécessite Python 3.12 ou une version plus récente",
|
||||
"functionTypeParametersIllegal": "La syntaxe des paramètres de type de fonction nécessite Viper 3.12 ou une version plus récente",
|
||||
"futureImportLocationNotAllowed": "Les importations à partir de __future__ doivent se trouver au début du fichier",
|
||||
"generatorAsyncReturnType": "Le type de retour de la fonction de générateur asynchrone doit être compatible avec « AsyncGenerator[{yieldType}, Any] »",
|
||||
"generatorNotParenthesized": "Les expressions de générateur doivent être entre parenthèses si elles ne sont pas uniquement des arguments",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "« Literal » ne peut pas être utilisé dans ce contexte sans argument de type",
|
||||
"literalNotCallable": "Impossible d’instancier le type Literal",
|
||||
"literalUnsupportedType": "Les arguments de type pour « Literal » doivent être None, une valeur littérale (int, bool, str ou bytes) ou une valeur enum",
|
||||
"matchIncompatible": "Les instructions de Match nécessitent Python 3.10 ou version ultérieure",
|
||||
"matchIncompatible": "Les instructions de Match nécessitent Viper 3.10 ou version ultérieure",
|
||||
"matchIsNotExhaustive": "Les cas dans l’instruction match ne gèrent pas toutes les valeurs de manière exhaustive",
|
||||
"maxParseDepthExceeded": "Profondeur d’analyse maximale dépassée ; scinder l’expression en sous-expressions plus petites",
|
||||
"memberAccess": "Désolé... Nous ne pouvons pas accéder à l’attribut « {name} » pour la classe « {type} »",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "La déclaration de paramètre « {name} » est masquée par une déclaration du même nom",
|
||||
"obscuredTypeAliasDeclaration": "La déclaration d’alias de type « {name} » est masquée par une déclaration du même nom",
|
||||
"obscuredVariableDeclaration": "La déclaration « {name} » est masquée par une déclaration du même nom",
|
||||
"operatorLessOrGreaterDeprecated": "L’opérateur « <> » n’est pas pris en charge dans Python 3 ; utilisez « != » à la place",
|
||||
"operatorLessOrGreaterDeprecated": "L’opérateur « <> » n’est pas pris en charge dans Viper 3 ; utilisez « != » à la place",
|
||||
"optionalExtraArgs": "Attendu un argument de type après « Optional »",
|
||||
"orPatternIrrefutable": "Modèle irréfutable autorisé uniquement en tant que dernier sous-modèle dans un modèle \"ou\"",
|
||||
"orPatternMissingName": "Tous les sous-modèles d’un modèle « or » doivent cibler les mêmes noms",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Impossible d’utiliser la variable de type Covariant dans le type de paramètre",
|
||||
"paramTypePartiallyUnknown": "Le type du paramètre « {paramName} » est partiellement inconnu",
|
||||
"paramTypeUnknown": "Le type de paramètre « {paramName} » est inconnu",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Le modèle ne sera jamais mis en correspondance pour le type d’objet « {type} »",
|
||||
"positionArgAfterNamedArg": "L’argument positionnel ne peut pas apparaître après les arguments de mot clé",
|
||||
"positionArgAfterUnpackedDictArg": "L’argument positionnel ne peut pas apparaître après la décompression d’argument de mot clé",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "Le paramètre « / » doit apparaître avant le paramètre « * »",
|
||||
"positionOnlyAfterNon": "Paramètre de position seule non autorisé après un paramètre qui n’est pas en position seule",
|
||||
"positionOnlyFirstParam": "Séparateur de paramètres de position seule non autorisé en tant que premier paramètre",
|
||||
"positionOnlyIncompatible": "Le séparateur de paramètres de position seule requiert Python 3.8 ou version ultérieure",
|
||||
"positionOnlyIncompatible": "Le séparateur de paramètres de position seule requiert Viper 3.8 ou version ultérieure",
|
||||
"privateImportFromPyTypedModule": "« {name} » n’est pas exporté à partir du module « {module} »",
|
||||
"privateUsedOutsideOfClass": "« {name} » est privé et utilisé en dehors de la classe dans laquelle il est déclaré",
|
||||
"privateUsedOutsideOfModule": "« {name} » est privé et utilisé en dehors du module dans lequel il est déclaré",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" est protégé et utilisé en dehors de la classe dans laquelle il est déclaré",
|
||||
"protocolBaseClass": "La classe de Protocol \"{classType}\" ne peut pas dériver de la classe non Protocol \"{baseType}\"",
|
||||
"protocolBaseClassWithTypeArgs": "Les arguments de type ne sont pas autorisés avec la classe Protocol lors de l'utilisation de la syntaxe des paramètres de type",
|
||||
"protocolIllegal": "L’utilisation de « Protocole » nécessite Python 3.7 ou une version plus récente",
|
||||
"protocolIllegal": "L’utilisation de « Protocole » nécessite Viper 3.7 ou une version plus récente",
|
||||
"protocolNotAllowed": "\"Protocole\" ne peut pas être utilisé dans ce contexte",
|
||||
"protocolTypeArgMustBeTypeParam": "L’argument de type pour « Protocol » doit être un paramètre de type",
|
||||
"protocolUnsafeOverlap": "La classe chevauche « {name} » de manière non sécurisée et peut produire une correspondance au moment de l’exécution",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Le littéral de chaîne n’est pas spécifié",
|
||||
"stubFileMissing": "Fichier stub introuvable pour « {importName} »",
|
||||
"stubUsesGetAttr": "Le fichier stub de type est incomplet ; « __getattr__ » masque les erreurs de type pour le module",
|
||||
"sublistParamsIncompatible": "Les paramètres de Sublist ne sont pas pris en charge dans Python 3.x",
|
||||
"sublistParamsIncompatible": "Les paramètres de Sublist ne sont pas pris en charge dans Viper 3.x",
|
||||
"superCallArgCount": "Pas plus de deux arguments attendus pour l'appel \"super\"",
|
||||
"superCallFirstArg": "Type de classe attendu en tant que premier argument de l’appel « super », mais « {type} » reçu",
|
||||
"superCallSecondArg": "Le deuxième argument de l’appel « super » doit être un objet ou une classe dérivé de « {type} »",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "« {name} » n’est pas défini",
|
||||
"symbolOverridden": "« {name} » remplace le symbole du même nom dans la classe « {className} »",
|
||||
"templateStringBytes": "Les littéraux de chaîne de modèle (t-strings) ne peuvent pas être binaires",
|
||||
"templateStringIllegal": "Les littéraux de chaîne de modèle (t-strings) nécessitent Python 3.14 ou version ultérieure",
|
||||
"templateStringIllegal": "Les littéraux de chaîne de modèle (t-strings) nécessitent Viper 3.14 ou version ultérieure",
|
||||
"templateStringUnicode": "Les littéraux de chaîne de modèle (t-strings) ne peuvent pas être unicode",
|
||||
"ternaryNotAllowed": "Expression ternaire non autorisée dans l'expression de type",
|
||||
"totalOrderingMissingMethod": "La classe doit définir « __lt__ », « __le__ », « __gt__ » ou « __ge__ » pour utiliser total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "Un TypeAlias ne peut être défini qu’au sein d’un module ou d’une étendue de classe",
|
||||
"typeAliasRedeclared": "« {name} » est déclaré en tant que TypeAlias et ne peut être attribué qu’une seule fois",
|
||||
"typeAliasStatementBadScope": "Une instruction de type ne peut être utilisée que dans une étendue de module ou de classe",
|
||||
"typeAliasStatementIllegal": "L’instruction d’alias de type nécessite Python 3.12 ou version ultérieure",
|
||||
"typeAliasStatementIllegal": "L’instruction d’alias de type nécessite Viper 3.12 ou version ultérieure",
|
||||
"typeAliasTypeBadScope": "Vous ne pouvez définir un alias de type qu’au sein d’un module ou d’une étendue de classe",
|
||||
"typeAliasTypeBaseClass": "A type alias defined in a \"type\" statement cannot be used as a base class",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType doit être affecté à une variable portant le même nom que l'alias de type",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "Le type de contrainte TypeVar ne peut pas être générique",
|
||||
"typeVarDefaultBoundMismatch": "Le type par défaut TypeVar doit être un sous-type du type lié",
|
||||
"typeVarDefaultConstraintMismatch": "Le type par défaut TypeVar doit être l'un des types contraints",
|
||||
"typeVarDefaultIllegal": "Les types de variables de type par défaut nécessitent Python 3.13 ou une version plus récente",
|
||||
"typeVarDefaultIllegal": "Les types de variables de type par défaut nécessitent Viper 3.13 ou une version plus récente",
|
||||
"typeVarDefaultInvalidTypeVar": "Le paramètre de type « {name} » a un type par défaut qui fait référence à une ou plusieurs variables de type hors de portée",
|
||||
"typeVarFirstArg": "Nom attendu de TypeVar comme premier argument",
|
||||
"typeVarInvalidForMemberVariable": "Le type d’attribut ne peut pas utiliser de variable de type « {name} » étendue à une méthode locale",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Les variables définies dans la classe de base abstraite ne sont pas initialisées dans la classe finale « {classType} »",
|
||||
"uninitializedInstanceVariable": "La variable d’instance « {name} » n’est pas initialisée dans le corps de la classe ou dans la méthode __init__",
|
||||
"unionForwardReferenceNotAllowed": "La syntaxe Union ne peut pas être utilisée avec l’opérande de chaîne ; utiliser des guillemets autour de l’expression entière",
|
||||
"unionSyntaxIllegal": "Une autre syntaxe pour les unions nécessite Python 3.10 ou une version plus récente",
|
||||
"unionSyntaxIllegal": "Une autre syntaxe pour les unions nécessite Viper 3.10 ou une version plus récente",
|
||||
"unionTypeArgCount": "L’Union requiert au moins deux arguments de type",
|
||||
"unionUnpackedTuple": "Union ne peut pas inclure un tuple décompressé",
|
||||
"unionUnpackedTypeVarTuple": "Union ne peut pas inclure un TypeVarTuple décompressé",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Opérateur de déballage non autorisé dans un set",
|
||||
"unpackNotAllowed": "Le Unpack n’est pas autorisé dans ce contexte",
|
||||
"unpackOperatorNotAllowed": "L’opération de décompression n’est pas autorisée dans ce contexte",
|
||||
"unpackTuplesIllegal": "Opération de décompression non autorisée dans les tuples avant Python 3.8",
|
||||
"unpackTuplesIllegal": "Opération de décompression non autorisée dans les tuples avant Viper 3.8",
|
||||
"unpackedArgInTypeArgument": "Les arguments décompressés ne peuvent pas être utilisés dans ce contexte",
|
||||
"unpackedArgWithVariadicParam": "L'argument décompressé ne peut pas être utilisé pour le paramètre TypeVarTuple",
|
||||
"unpackedDictArgumentNotMapping": "L’expression d’argument après ** doit être un mappage avec un type de clé « str »",
|
||||
"unpackedDictSubscriptIllegal": "L’opérateur de décompression de dictionnaire dans l’indice n’est pas autorisé",
|
||||
"unpackedSubscriptIllegal": "L’opérateur de décompression en indice requiert Python 3.11 ou version ultérieure",
|
||||
"unpackedSubscriptIllegal": "L’opérateur de décompression en indice requiert Viper 3.11 ou version ultérieure",
|
||||
"unpackedTypeVarTupleExpected": "TypeVarTuple décompressé attendu ; utiliser Unpack[{name1}] ou *{name2}",
|
||||
"unpackedTypedDictArgument": "Impossible de faire correspondre l’argument TypedDict décompressé aux paramètres",
|
||||
"unreachableCodeCondition": "Le code n’est pas analysé, car la condition est évaluée statiquement comme false",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Le résultat de l'expression d'appel est de type \"{type}\" et n'est pas utilisé ; affecter à la variable \"_\" si c'est intentionnel",
|
||||
"unusedCoroutine": "Le résultat de l’appel de fonction asynchrone n’est pas utilisé ; utiliser « await » ou affecter le résultat à la variable",
|
||||
"unusedExpression": "La valeur de l'expression n'est pas utilisée",
|
||||
"varAnnotationIllegal": "Les annotations de type pour les variables nécessitent Python 3.6 ou une version ultérieure ; utiliser le commentaire de type pour la compatibilité avec les versions précédentes",
|
||||
"varAnnotationIllegal": "Les annotations de type pour les variables nécessitent Viper 3.6 ou une version ultérieure ; utiliser le commentaire de type pour la compatibilité avec les versions précédentes",
|
||||
"variableFinalOverride": "La variable « {name} » est marquée comme Final et remplace la variable non-Final du même nom dans la classe « {className} »",
|
||||
"variadicTypeArgsTooMany": "La liste d’arguments de type peut avoir au plus un TypeVarTuple ou tuple décompressé",
|
||||
"variadicTypeParamTooManyAlias": "L’alias de type peut avoir au plus un paramètre de type TypeVarTuple, mais a reçu plusieurs ({names})",
|
||||
"variadicTypeParamTooManyClass": "La classe générique peut avoir au plus un paramètre de type TypeVarTuple, mais en a reçu plusieurs ({names})",
|
||||
"walrusIllegal": "L’opérateur « := » nécessite Python 3.8 ou version ultérieure",
|
||||
"walrusIllegal": "L’opérateur « := » nécessite Viper 3.8 ou version ultérieure",
|
||||
"walrusNotAllowed": "L’opérateur « := » n’est pas autorisé dans ce contexte sans parenthèses adjacentes",
|
||||
"wildcardInFunction": "import de caractères génériques non autorisée dans une classe ou une fonction",
|
||||
"wildcardLibraryImport": "import de caractères génériques à partir d’une bibliothèque non autorisée",
|
||||
"wildcardPatternTypePartiallyUnknown": "Le type capturé par le modèle générique est partiellement inconnu",
|
||||
"wildcardPatternTypeUnknown": "Le type capturé par le modèle générique est inconnu",
|
||||
"yieldFromIllegal": "L’utilisation de « yield from » nécessite Python 3.3 ou version ultérieure",
|
||||
"yieldFromIllegal": "L’utilisation de « yield from » nécessite Viper 3.3 ou version ultérieure",
|
||||
"yieldFromOutsideAsync": "« yield from » non autorisé dans une fonction asynchrone",
|
||||
"yieldOutsideFunction": "« yield » non autorisé en dehors d’une fonction ou d’un lambda",
|
||||
"yieldWithinComprehension": "« yield » n’est pas autorisé dans une compréhension de liste",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "\"assert_type\" non corrispondente: previsto \"{expected}\" ma ricevuto \"{received}\"",
|
||||
"assignmentExprComprehension": "La destinazione dell'espressione di assegnazione \"{name}\" non può usare lo stesso nome della comprensione per la destinazione",
|
||||
"assignmentExprContext": "L'espressione di assegnazione deve essere all'interno di modulo, funzione o lambda",
|
||||
"assignmentExprInSubscript": "Le espressioni di assegnazione all'interno di un pedice sono supportate solo in Python 3.10 e versioni successive",
|
||||
"assignmentExprInSubscript": "Le espressioni di assegnazione all'interno di un pedice sono supportate solo in Viper 3.10 e versioni successive",
|
||||
"assignmentInProtocol": "Le variabili di istanza o di classe all'interno di una classe Protocollo devono essere dichiarate esplicitamente nel corpo della classe",
|
||||
"assignmentTargetExpr": "L'espressione non può essere una destinazione di assegnazione",
|
||||
"asyncNotInAsyncFunction": "L'uso di \"async\" non è consentito al di fuori della funzione async",
|
||||
"awaitIllegal": "L'uso di \"await\" richiede Python 3.5 o versione successiva",
|
||||
"awaitIllegal": "L'uso di \"await\" richiede Viper 3.5 o versione successiva",
|
||||
"awaitNotAllowed": "Le espressioni di tipo non possono usare \"await\"",
|
||||
"awaitNotInAsync": "\"await\" consentito solo all'interno della funzione async",
|
||||
"backticksIllegal": "Le espressioni racchiuse tra backticks non sono supportate in Python 3.x; usare repr invece",
|
||||
"backticksIllegal": "Le espressioni racchiuse tra backticks non sono supportate in Viper 3.x; usare repr invece",
|
||||
"baseClassCircular": "La classe non può derivare da se stessa",
|
||||
"baseClassFinal": "La classe di base \"{type}\" è contrassegnata come finale e non può essere sottoclassata",
|
||||
"baseClassIncompatible": "Le classi di base di {type} sono incompatibili tra di loro",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "Non è possibile usare \"{type}\" in un modello di classe perché è definito tramite NewType",
|
||||
"classPatternPositionalArgCount": "Troppi modelli posizionale per la classe \"{type}\"; previsto {expected} ma ottenuto {received}",
|
||||
"classPatternTypeAlias": "\"{type}\" non può essere usato in uno schema di classe, perché è un alias di tipo specializzato",
|
||||
"classPropertyDeprecated": "Le proprietà della classe sono deprecate in Python 3.11 e non saranno supportate in Python 3.13",
|
||||
"classTypeParametersIllegal": "La sintassi del parametro del tipo di classe richiede Python 3.12 o versione successiva",
|
||||
"classPropertyDeprecated": "Le proprietà della classe sono deprecate in Viper 3.11 e non saranno supportate in Viper 3.13",
|
||||
"classTypeParametersIllegal": "La sintassi del parametro del tipo di classe richiede Viper 3.12 o versione successiva",
|
||||
"classVarFirstArgMissing": "È previsto un argomento tipo dopo \"ClassVar\"",
|
||||
"classVarNotAllowed": "\"ClassVar\" non consentito in questo contesto",
|
||||
"classVarOverridesInstanceVar": "La variabile di classe \"{name}\" esegue l'override della variabile di istanza con lo stesso nome nella classe \"{className}\"",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "Il deleter per la property \"{name}\" è deprecato",
|
||||
"deprecatedPropertyGetter": "Il getter per la property \"{name}\" è deprecato",
|
||||
"deprecatedPropertySetter": "Il setter per la property \"{name}\" è deprecato",
|
||||
"deprecatedType": "Questo tipo è deprecato a partire da Python {version}; usa \"{replacement}\"",
|
||||
"deprecatedType": "Questo tipo è deprecato a partire da Viper {version}; usa \"{replacement}\"",
|
||||
"dictExpandIllegalInComprehension": "Espansione del dizionario non consentita nella comprensione",
|
||||
"dictInAnnotation": "Espressione dizionario non consentita nell'espressione di tipo",
|
||||
"dictKeyValuePairs": "Le voci del dizionario devono contenere coppie chiave-valore",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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",
|
||||
"exceptRequiresParens": "Più tipi di eccezione devono essere racchiusi tra parentesi prima di Python 3.14",
|
||||
"exceptRequiresParens": "Più tipi di eccezione devono essere racchiusi tra parentesi prima di Viper 3.14",
|
||||
"exceptWithAsRequiresParens": "Più tipi di eccezione devono essere racchiusi tra parentesi quando si usa \"as\"",
|
||||
"exceptionGroupIncompatible": "La sintassi del gruppo di eccezioni (\"except*\") richiede Python 3.11 o versione successiva",
|
||||
"exceptionGroupIncompatible": "La sintassi del gruppo di eccezioni (\"except*\") richiede Viper 3.11 o versione successiva",
|
||||
"exceptionGroupTypeIncorrect": "Il tipo di eccezione in except* non può derivare da BaseGroupException",
|
||||
"exceptionTypeIncorrect": "\"{type}\" non deriva da BaseException",
|
||||
"exceptionTypeNotClass": "\"{type}\" non è una classe di eccezione valida",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" non è stato chiuso",
|
||||
"expectedColon": "Previsto \":\"",
|
||||
"expectedComplexNumberLiteral": "È previsto un valore letterale di numero complesso per i criteri di ricerca",
|
||||
"expectedDecoratorExpr": "Il modulo dell'espressione non è supportato per l'elemento Decorator precedente a Python 3.9",
|
||||
"expectedDecoratorExpr": "Il modulo dell'espressione non è supportato per l'elemento Decorator precedente a Viper 3.9",
|
||||
"expectedDecoratorName": "È previsto un nome di elemento Decorator",
|
||||
"expectedDecoratorNewline": "Prevista nuova riga alla fine dell'elemento Decorator",
|
||||
"expectedDelExpr": "Espressione prevista dopo \"del\"",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Non è possibile utilizzare \"return\" per uscire da un blocco \"finally\"",
|
||||
"formatStringBrace": "Parentesi graffa di chiusura singola non consentita all'interno del valore letterale f-string; usa parentesi graffa chiusa doppia",
|
||||
"formatStringBytes": "I valori letterali stringa di formato (f-string) non possono essere binari",
|
||||
"formatStringDebuggingIllegal": "L’identificatore di debug delle stringhe F \"=\" richiede Python 3.8 o versione successiva",
|
||||
"formatStringEscape": "Sequenza di escape (barra rovesciata) non consentita nella porzione di espressione di f-string prima di Python 3.12",
|
||||
"formatStringDebuggingIllegal": "L’identificatore di debug delle stringhe F \"=\" richiede Viper 3.8 o versione successiva",
|
||||
"formatStringEscape": "Sequenza di escape (barra rovesciata) non consentita nella porzione di espressione di f-string prima di Viper 3.12",
|
||||
"formatStringExpectedConversion": "È previsto un identificatore di conversione dopo \"!\" in f-string",
|
||||
"formatStringIllegal": "I valori letterali stringa di formato (f-string) richiedono Python 3.6 o versione successiva",
|
||||
"formatStringIllegal": "I valori letterali stringa di formato (f-string) richiedono Viper 3.6 o versione successiva",
|
||||
"formatStringInPattern": "Stringa di formato non consentita nel criterio",
|
||||
"formatStringNestedFormatSpecifier": "Espressioni annidate troppo in profondità nell'identificatore di stringa di formato",
|
||||
"formatStringNestedQuote": "Le stringhe annidate all'interno di una stringa f non possono usare lo stesso carattere virgolette della stringa f prima di Python 3.12",
|
||||
"formatStringNestedQuote": "Le stringhe annidate all'interno di una stringa f non possono usare lo stesso carattere virgolette della stringa f prima di Viper 3.12",
|
||||
"formatStringTemplate": "I valori letterali stringa di formato (f-strings) non possono essere anche stringhe modello (stringhe t)",
|
||||
"formatStringUnicode": "I valori letterali stringa di formato (f-string) non possono essere unicode",
|
||||
"formatStringUnterminated": "Espressione senza terminazione in f-string; previsto \"}\".",
|
||||
"functionDecoratorTypeUnknown": "L'elemento Decorator della funzione non tipizzato nasconde il tipo di funzione; l'elemento Decorator verrà ignorato",
|
||||
"functionInConditionalExpression": "L'espressione condizionale fa riferimento a una funzione che restituisce sempre True",
|
||||
"functionTypeParametersIllegal": "La sintassi del parametro del tipo di funzione richiede Python 3.12 o versione successiva",
|
||||
"functionTypeParametersIllegal": "La sintassi del parametro del tipo di funzione richiede Viper 3.12 o versione successiva",
|
||||
"futureImportLocationNotAllowed": "Le importazioni da __future__ devono trovarsi all'inizio del file",
|
||||
"generatorAsyncReturnType": "Il tipo restituito della funzione del generatore async deve essere compatibile con \"AsyncGenerator[{yieldType}, Any]\"",
|
||||
"generatorNotParenthesized": "Le espressioni del generatore devono essere racchiuse tra parentesi se non è l'unico argomento",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "Non è possibile usare \"Literal\" in questo contesto senza un argomento tipo",
|
||||
"literalNotCallable": "Non è possibile creare un'istanza del tipo Literal",
|
||||
"literalUnsupportedType": "Gli argomenti di tipo per \"Literal\" devono essere None, un valore letterale (int, bool, str o bytes) o un valore di enumerazione",
|
||||
"matchIncompatible": "Le istruzioni match richiedono Python 3.10 o versione successiva",
|
||||
"matchIncompatible": "Le istruzioni match richiedono Viper 3.10 o versione successiva",
|
||||
"matchIsNotExhaustive": "I case all'interno dell'istruzione match non gestiscono in modo completo tutti i valori",
|
||||
"maxParseDepthExceeded": "È stata superata la profondità massima di analisi; suddividere l'espressione in sottoespressioni più piccole",
|
||||
"memberAccess": "Non è possibile accedere all'attributo \"{name}\" per la classe \"{type}\"",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "La dichiarazione del parametro \"{name}\" è oscurata da una dichiarazione con lo stesso nome",
|
||||
"obscuredTypeAliasDeclaration": "La dichiarazione dell'alias di tipo \"{name}\" è nascosta da una dichiarazione con lo stesso nome",
|
||||
"obscuredVariableDeclaration": "La dichiarazione \"{name}\" è oscurata da una dichiarazione con lo stesso nome",
|
||||
"operatorLessOrGreaterDeprecated": "L'operatore \"<>\" non è supportato in Python 3. Usare invece \"!=\"",
|
||||
"operatorLessOrGreaterDeprecated": "L'operatore \"<>\" non è supportato in Viper 3. Usare invece \"!=\"",
|
||||
"optionalExtraArgs": "È previsto un argomento di tipo dopo \"Optional\"",
|
||||
"orPatternIrrefutable": "Criterio inconfutabile consentito solo come ultimo criterio secondario in un criterio \"or\"",
|
||||
"orPatternMissingName": "Tutti i criteri secondari all'interno di un criterio \"or\" devono avere come destinazione gli stessi nomi",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Non è possibile usare la variabile di tipo covariante nel tipo di parametro",
|
||||
"paramTypePartiallyUnknown": "Tipo di parametro \"{paramName}\" parzialmente sconosciuto",
|
||||
"paramTypeUnknown": "Tipo di parametro \"{paramName}\" sconosciuto",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Il criterio non verrà mai confrontato per il tipo di oggetto \"{type}\"",
|
||||
"positionArgAfterNamedArg": "L'argomento posizionale non può essere visualizzato dopo gli argomenti della parola chiave",
|
||||
"positionArgAfterUnpackedDictArg": "L'argomento posizionale non può essere visualizzato dopo la decompressione degli argomenti della parola chiave",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "Il parametro \"/\" deve essere visualizzato prima del parametro \"*\"",
|
||||
"positionOnlyAfterNon": "Il parametro di sola posizione non è consentito dopo un parametro che non è di sola posizione",
|
||||
"positionOnlyFirstParam": "Separatore di argomenti di sola posizione non consentito come primo parametro",
|
||||
"positionOnlyIncompatible": "Il separatore di parametri di sola posizione richiede Python 3.8 o versione successiva",
|
||||
"positionOnlyIncompatible": "Il separatore di parametri di sola posizione richiede Viper 3.8 o versione successiva",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" non è esportato dal modulo \"{module}\"",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" è privato e utilizzato all'esterno del modulo in cui è dichiarato",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" è privato e utilizzato all'esterno del modulo in cui è dichiarato",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" è protetto e usato al di fuori della classe in cui è dichiarato",
|
||||
"protocolBaseClass": "La classe Protocol \"{classType}\" non può derivare dalla classe non Protocol \"{baseType}\"",
|
||||
"protocolBaseClassWithTypeArgs": "Gli argomenti tipo non sono consentiti con la classe Protocollo quando si usa la sintassi dei parametri tipo",
|
||||
"protocolIllegal": "L'uso di \"Protocol\" richiede Python 3.7 o versione successiva",
|
||||
"protocolIllegal": "L'uso di \"Protocol\" richiede Viper 3.7 o versione successiva",
|
||||
"protocolNotAllowed": "\"Protocol\" non può essere usato in questo contesto",
|
||||
"protocolTypeArgMustBeTypeParam": "L'argomento di tipo per \"Protocol\" deve essere un parametro di tipo",
|
||||
"protocolUnsafeOverlap": "La classe si sovrappone a \"{name}\" in modo non sicuro e può produrre una corrispondenza in fase di esecuzione",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Il valore letterale stringa non è terminato",
|
||||
"stubFileMissing": "File di stub non trovato per \"{importName}\"",
|
||||
"stubUsesGetAttr": "Il file dello stub di tipo è incompleto; \"__getattr__\" nasconde gli errori di tipo per il modulo",
|
||||
"sublistParamsIncompatible": "I parametri di sublist non sono supportati in Python 3.x",
|
||||
"sublistParamsIncompatible": "I parametri di sublist non sono supportati in Viper 3.x",
|
||||
"superCallArgCount": "Non sono previsti più di due argomenti per la chiamata \"super\".",
|
||||
"superCallFirstArg": "È previsto un tipo di classe come primo argomento della chiamata \"super\", ma è stato ricevuto \"{type}\"",
|
||||
"superCallSecondArg": "Il secondo argomento della chiamata \"super\" deve essere un oggetto o una classe che deriva da \"{type}\"",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" non è definito",
|
||||
"symbolOverridden": "\"{name}\" esegue l'override del simbolo con lo stesso nome nella classe \"{className}\"",
|
||||
"templateStringBytes": "I valori letterali stringa modello (stringhe t) non possono essere binari",
|
||||
"templateStringIllegal": "I valori letterali stringa modello (stringhe t) richiedono Python 3.14 o versione successiva",
|
||||
"templateStringIllegal": "I valori letterali stringa modello (stringhe t) richiedono Viper 3.14 o versione successiva",
|
||||
"templateStringUnicode": "I valori letterali stringa modello (stringhe t) non possono essere Unicode",
|
||||
"ternaryNotAllowed": "Espressione ternaria non consentita nell'espressione di tipo",
|
||||
"totalOrderingMissingMethod": "La classe deve definire uno dei valori di \"__lt__\", \"__le__\", \"__gt__\" o \"__ge__\" per usare total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias può essere definito solo all'interno di un modulo o di una classe",
|
||||
"typeAliasRedeclared": "\"{name}\" è dichiarato come TypeAlias e può essere assegnato una sola volta",
|
||||
"typeAliasStatementBadScope": "Un'istruzione type può essere usata solo all'interno di un modulo o di un ambito della classe",
|
||||
"typeAliasStatementIllegal": "L'istruzione alias di tipo richiede Python 3.12 o versione successiva",
|
||||
"typeAliasStatementIllegal": "L'istruzione alias di tipo richiede Viper 3.12 o versione successiva",
|
||||
"typeAliasTypeBadScope": "È possibile definire un alias di tipo solo all'interno di un ambito classe o modulo",
|
||||
"typeAliasTypeBaseClass": "Impossibile utilizzare come classe di base un alias di tipo definito in un'istruzione \"type\"",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType deve essere assegnato a una variabile con lo stesso nome dell'alias di tipo",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "Il tipo di vincolo TypeVar non può essere generico",
|
||||
"typeVarDefaultBoundMismatch": "Il tipo predefinito TypeVar deve essere un sottotipo del tipo associato",
|
||||
"typeVarDefaultConstraintMismatch": "Il tipo predefinito TypeVar deve essere uno dei tipi vincolati",
|
||||
"typeVarDefaultIllegal": "I tipi predefiniti delle variabili di tipo richiedono Python 3.13 o versione successiva",
|
||||
"typeVarDefaultIllegal": "I tipi predefiniti delle variabili di tipo richiedono Viper 3.13 o versione successiva",
|
||||
"typeVarDefaultInvalidTypeVar": "Il parametro di tipo \"{name}\" ha un tipo predefinito che fa riferimento a una o più variabili di tipo non compreso nell'ambito",
|
||||
"typeVarFirstArg": "Nome previsto di TypeVar come primo argomento",
|
||||
"typeVarInvalidForMemberVariable": "Il tipo di attributo non può usare la variabile di tipo \"{name}\" con ambito del metodo locale",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Le variabili definite nella classe di base astratta non vengono inizializzate nella classe finale \"{classType}\"",
|
||||
"uninitializedInstanceVariable": "La variabile di istanza \"{name}\" non è inizializzata nel corpo della classe o nel metodo __init__",
|
||||
"unionForwardReferenceNotAllowed": "Impossibile utilizzare la sintassi di Union con l'operando stringa. Usare virgolette intorno all'intera espressione",
|
||||
"unionSyntaxIllegal": "La sintassi alternativa per le unioni richiede Python 3.10 o versione successiva",
|
||||
"unionSyntaxIllegal": "La sintassi alternativa per le unioni richiede Viper 3.10 o versione successiva",
|
||||
"unionTypeArgCount": "Unione richiede due o più argomenti di tipo",
|
||||
"unionUnpackedTuple": "Union non può includere un tuple decompresso",
|
||||
"unionUnpackedTypeVarTuple": "Union non può includere un TypeVarTuple non compresso",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Operatore di decompressione non consentito all’interno di un set",
|
||||
"unpackNotAllowed": "Unpack non è consentito in questo contesto",
|
||||
"unpackOperatorNotAllowed": "L’operazione di decompressione non è consentita in questo contesto",
|
||||
"unpackTuplesIllegal": "L'operazione di decompressione non è consentita nelle tuple precedenti a Python 3.8",
|
||||
"unpackTuplesIllegal": "L'operazione di decompressione non è consentita nelle tuple precedenti a Viper 3.8",
|
||||
"unpackedArgInTypeArgument": "Non è possibile usare argomenti decompressi in questo contesto",
|
||||
"unpackedArgWithVariadicParam": "Non è possibile usare l'argomento decompresso per il parametro TypeVarTuple",
|
||||
"unpackedDictArgumentNotMapping": "L'espressione dell'argomento dopo ** deve essere un mapping con un tipo di chiave \"str\"",
|
||||
"unpackedDictSubscriptIllegal": "L'operatore di decompressione del dizionario nel pedice non è consentito",
|
||||
"unpackedSubscriptIllegal": "L'operatore di decompressione nel pedice richiede Python 3.11 o versione successiva",
|
||||
"unpackedSubscriptIllegal": "L'operatore di decompressione nel pedice richiede Viper 3.11 o versione successiva",
|
||||
"unpackedTypeVarTupleExpected": "Previsto TypeVarTuple decompresso; usa Unpack[{name1}] o *{name2}",
|
||||
"unpackedTypedDictArgument": "Impossibile trovare una corrispondenza tra l'argomento TypedDict non compresso e i parametri",
|
||||
"unreachableCodeCondition": "Il codice non viene analizzato perché la condizione viene valutata in modo statico come false",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Il risultato dell'espressione di chiamata è di tipo \"{type}\" e non è usato. Assegnare alla variabile \"_\" se è intenzionale",
|
||||
"unusedCoroutine": "Il risultato della chiamata alla funzione async non viene usato. Usare \"await\" o assegnare il risultato alla variabile",
|
||||
"unusedExpression": "Il valore dell'espressione non è utilizzato",
|
||||
"varAnnotationIllegal": "Le annotazioni type per le variabili richiedono Python 3.6 o versione successiva. Usare il commento di type per la compatibilità con le versioni precedenti",
|
||||
"varAnnotationIllegal": "Le annotazioni type per le variabili richiedono Viper 3.6 o versione successiva. Usare il commento di type per la compatibilità con le versioni precedenti",
|
||||
"variableFinalOverride": "La variabile \"{name}\" è contrassegnata come Final ed esegue l'override della variabile non Final con lo stesso nome nella classe \"{className}\"",
|
||||
"variadicTypeArgsTooMany": "L'elenco di argomenti del tipo può contenere al massimo un tuple o TypeVarTuple non compresso",
|
||||
"variadicTypeParamTooManyAlias": "L'alias di tipo può avere al massimo un parametro di tipo TypeVarTuple, ma ne ha ricevuti più ({names})",
|
||||
"variadicTypeParamTooManyClass": "La classe generica può avere al massimo un parametro di tipo TypeVarTuple, ma ne ha ricevuti più ({names})",
|
||||
"walrusIllegal": "L'operatore \":=\" richiede Python 3.8 o versione successiva",
|
||||
"walrusIllegal": "L'operatore \":=\" richiede Viper 3.8 o versione successiva",
|
||||
"walrusNotAllowed": "L'operatore \":=\" non è consentito in questo contesto senza parentesi circostanti",
|
||||
"wildcardInFunction": "Wildcard import non consentito all'interno di una classe o di una funzione",
|
||||
"wildcardLibraryImport": "Wildcard import da una libreria non consentito",
|
||||
"wildcardPatternTypePartiallyUnknown": "Il tipo acquisito dal modello con caratteri jolly è parzialmente sconosciuto",
|
||||
"wildcardPatternTypeUnknown": "Il tipo acquisito dal criterio con caratteri jolly è sconosciuto",
|
||||
"yieldFromIllegal": "L'uso di \"yield from\" richiede Python 3.3 o versione successiva",
|
||||
"yieldFromIllegal": "L'uso di \"yield from\" richiede Viper 3.3 o versione successiva",
|
||||
"yieldFromOutsideAsync": "\"yield from\" non consentito in una funzione async",
|
||||
"yieldOutsideFunction": "\"yield\" non consentito all'esterno di una funzione o di un'espressione lambda",
|
||||
"yieldWithinComprehension": "\"yield\" non consentito all'interno di una comprensione",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "\"assert_type\" の不一致: \"{expected}\" が必要ですが、\"{received}\" を受信しました",
|
||||
"assignmentExprComprehension": "代入式のターゲット \"{name}\" は、ターゲットの理解と同じ名前を使用できません",
|
||||
"assignmentExprContext": "代入式は、モジュール、関数、またはラムダ内に存在する必要があります",
|
||||
"assignmentExprInSubscript": "下付き文字内の代入式は、Python 3.10 以降でのみサポートされます",
|
||||
"assignmentExprInSubscript": "下付き文字内の代入式は、Viper 3.10 以降でのみサポートされます",
|
||||
"assignmentInProtocol": "Protocol クラス内のインスタンス変数またはクラス変数は、クラス本体内で明示的に宣言する必要があります",
|
||||
"assignmentTargetExpr": "式を代入先にすることはできません",
|
||||
"asyncNotInAsyncFunction": "async 関数の外部では \"async\" の使用は許可されていません",
|
||||
"awaitIllegal": "\"await\" を使用するには Python 3.5 以降が必要です",
|
||||
"awaitIllegal": "\"await\" を使用するには Viper 3.5 以降が必要です",
|
||||
"awaitNotAllowed": "型式では、\"await\" は使用できません",
|
||||
"awaitNotInAsync": "\"await\" は async 関数内でのみ許可されます",
|
||||
"backticksIllegal": "バッククォートで囲まれた式は、Python 3.x ではサポートされていません。代わりに repr を使用してください",
|
||||
"backticksIllegal": "バッククォートで囲まれた式は、Viper 3.x ではサポートされていません。代わりに repr を使用してください",
|
||||
"baseClassCircular": "クラス自体から派生することはできません",
|
||||
"baseClassFinal": "基底クラス \"{type}\" は final とマークされており、サブクラス化できません",
|
||||
"baseClassIncompatible": "{type} の基底クラスは相互に互換性がありません",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "\"{type}\" は NewType を使用して定義されているため、クラス パターンでは使用できません",
|
||||
"classPatternPositionalArgCount": "クラス \"{type}\" の位置指定パターンが多すぎます。{expected} が必要ですが、{received} を受信しました",
|
||||
"classPatternTypeAlias": "\"{type}\" は特殊な型エイリアスであるため、クラス パターンでは使用できません",
|
||||
"classPropertyDeprecated": "クラス プロパティは Python 3.11 では非推奨であり、Python 3.13 ではサポートされなくなります",
|
||||
"classTypeParametersIllegal": "クラス型パラメーターの構文には Python 3.12 以降が必要です",
|
||||
"classPropertyDeprecated": "クラス プロパティは Viper 3.11 では非推奨であり、Viper 3.13 ではサポートされなくなります",
|
||||
"classTypeParametersIllegal": "クラス型パラメーターの構文には Viper 3.12 以降が必要です",
|
||||
"classVarFirstArgMissing": "\"ClassVar\" の後に型引数が必要です",
|
||||
"classVarNotAllowed": "\"ClassVar\" はこのコンテキストでは許可されていません",
|
||||
"classVarOverridesInstanceVar": "クラス変数 \"{name}\" は、クラス \"{className}\" の同じ名前のインスタンス変数をオーバーライドします",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "The deleter for property \"{name}\" is deprecated",
|
||||
"deprecatedPropertyGetter": "The getter for property \"{name}\" is deprecated",
|
||||
"deprecatedPropertySetter": "The setter for property \"{name}\" is deprecated",
|
||||
"deprecatedType": "この型は Python {version} では非推奨です。代わりに\"{replacement}\"を使用してください",
|
||||
"deprecatedType": "この型は Viper {version} では非推奨です。代わりに\"{replacement}\"を使用してください",
|
||||
"dictExpandIllegalInComprehension": "辞書の展開は理解できません",
|
||||
"dictInAnnotation": "辞書式は型式では使用できません",
|
||||
"dictKeyValuePairs": "辞書エントリにはキー/値のペアが含まれている必要があります",
|
||||
@@ -163,9 +163,9 @@
|
||||
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
|
||||
"exceptGroupMismatch": "Try ステートメントに \"except\" と \"except*\" の両方を含めることはできません",
|
||||
"exceptGroupRequiresType": "例外グループ構文 (\"except*\") には例外の種類が必要です",
|
||||
"exceptRequiresParens": "Python 3.14 より前の複数の例外の種類をかっこで囲む必要がある",
|
||||
"exceptRequiresParens": "Viper 3.14 より前の複数の例外の種類をかっこで囲む必要がある",
|
||||
"exceptWithAsRequiresParens": "\"as\" を使用する場合は、複数の例外の種類をかっこで囲む必要があります",
|
||||
"exceptionGroupIncompatible": "例外グループの構文 (\"except*\") には Python 3.11 以降が必要です",
|
||||
"exceptionGroupIncompatible": "例外グループの構文 (\"except*\") には Viper 3.11 以降が必要です",
|
||||
"exceptionGroupTypeIncorrect": "except* の例外型は BaseGroupException から派生できません",
|
||||
"exceptionTypeIncorrect": "\"{type}\" は BaseException から派生していません",
|
||||
"exceptionTypeNotClass": "\"{type}\" は有効な例外クラスではありません",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" が閉じられませんでした",
|
||||
"expectedColon": "\":\" が必要です",
|
||||
"expectedComplexNumberLiteral": "パターン マッチングに必要な複素数リテラル",
|
||||
"expectedDecoratorExpr": "Python 3.9 より前のデコレーターでは、式フォームはサポートされていません",
|
||||
"expectedDecoratorExpr": "Viper 3.9 より前のデコレーターでは、式フォームはサポートされていません",
|
||||
"expectedDecoratorName": "デコレーター名が必要です",
|
||||
"expectedDecoratorNewline": "デコレーターの末尾に新しい行が必要です",
|
||||
"expectedDelExpr": "\"del\" の後に式が必要です",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "\"return\" を使用して \"finally\" ブロックを終了することはできません",
|
||||
"formatStringBrace": "f-string リテラル内では、1 つの閉じかっこは使用できません。二重閉じかっこを使用してください",
|
||||
"formatStringBytes": "書式指定文字列リテラル (f 文字列) をバイナリにすることはできません",
|
||||
"formatStringDebuggingIllegal": "F-string デバッグ指定子 \"=\" には Python 3.8 以降が必要です",
|
||||
"formatStringEscape": "Python 3.12 より前の f-string の式部分ではエスケープ シーケンス (バックスラッシュ) は使用できません",
|
||||
"formatStringDebuggingIllegal": "F-string デバッグ指定子 \"=\" には Viper 3.8 以降が必要です",
|
||||
"formatStringEscape": "Viper 3.12 より前の f-string の式部分ではエスケープ シーケンス (バックスラッシュ) は使用できません",
|
||||
"formatStringExpectedConversion": "f-string の \"!\" の後に変換指定子が必要です",
|
||||
"formatStringIllegal": "書式文字列リテラル (f 文字列) には Python 3.6 以降が必要です",
|
||||
"formatStringIllegal": "書式文字列リテラル (f 文字列) には Viper 3.6 以降が必要です",
|
||||
"formatStringInPattern": "書式指定文字列はパターンでは使用できません",
|
||||
"formatStringNestedFormatSpecifier": "書式指定子内で入れ子になった式が深すぎます",
|
||||
"formatStringNestedQuote": "f-string 内で入れ子になった文字列は、Python 3.12 より前の f-string と同じ引用符文字を使用できません",
|
||||
"formatStringNestedQuote": "f-string 内で入れ子になった文字列は、Viper 3.12 より前の f-string と同じ引用符文字を使用できません",
|
||||
"formatStringTemplate": "書式文字列リテラル (f 文字列) をテンプレート文字列 (t 文字列) にすることもできません",
|
||||
"formatStringUnicode": "書式指定文字列リテラル (f 文字列) を Unicode にすることはできません",
|
||||
"formatStringUnterminated": "f-string の式が終了していません。\"}\" が必要です",
|
||||
"functionDecoratorTypeUnknown": "型指定されていない関数デコレーターは、関数の型を隠します。デコレーターを無視しています",
|
||||
"functionInConditionalExpression": "常に True に評価される条件式参照関数",
|
||||
"functionTypeParametersIllegal": "関数型パラメーターの構文には Python 3.12 以降が必要です",
|
||||
"functionTypeParametersIllegal": "関数型パラメーターの構文には Viper 3.12 以降が必要です",
|
||||
"futureImportLocationNotAllowed": "__future__ からのインポートは、ファイルの先頭にある必要があります",
|
||||
"generatorAsyncReturnType": "async ジェネレーター関数の戻り値の型は、\"AsyncGenerator[{yieldType}, Any]\" と互換性がある必要があります",
|
||||
"generatorNotParenthesized": "ジェネレーター式は、唯一の引数でない場合はかっこで囲む必要があります",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "\"Literal\" は、型引数なしでこのコンテキストでは使用できません",
|
||||
"literalNotCallable": "Literal 型はインスタンス化できません",
|
||||
"literalUnsupportedType": "\"Literal\" の型引数は None、literal 値 (int、bool、str、または bytes)、または enum 値である必要があります",
|
||||
"matchIncompatible": "Match ステートメントには Python 3.10 以降が必要です",
|
||||
"matchIncompatible": "Match ステートメントには Viper 3.10 以降が必要です",
|
||||
"matchIsNotExhaustive": "match ステートメント内のケースでは、すべての値が完全に処理されるわけではありません",
|
||||
"maxParseDepthExceeded": "解析の最大深さを超えました。式を小さい部分式に分割する",
|
||||
"memberAccess": "クラス \"{type}\" の属性 \"{name}\" にアクセスできません",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "パラメーター宣言 \"{name}\" は、同じ名前の宣言によって隠されています",
|
||||
"obscuredTypeAliasDeclaration": "型エイリアス宣言 \"{name}\" は、同じ名前の宣言によって隠されています",
|
||||
"obscuredVariableDeclaration": "宣言 \"{name}\" は、同じ名前の宣言によって隠されています",
|
||||
"operatorLessOrGreaterDeprecated": "演算子 \"<>\" は Python 3 ではサポートされていません。代わりに \"!=\" を使用してください",
|
||||
"operatorLessOrGreaterDeprecated": "演算子 \"<>\" は Viper 3 ではサポートされていません。代わりに \"!=\" を使用してください",
|
||||
"optionalExtraArgs": "\"Optional\" の後に 1 つの型引数が必要です",
|
||||
"orPatternIrrefutable": "参照不可能なパターンは、\"or\" パターンの最後のサブパターンとしてのみ許可されます",
|
||||
"orPatternMissingName": "\"or\" パターン内のすべてのサブパターンは、同じ名前をターゲットにする必要があります",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "共変の型変数はパラメーター型では使用できません",
|
||||
"paramTypePartiallyUnknown": "パラメーター \"{paramName}\" の型が部分的に不明です",
|
||||
"paramTypeUnknown": "パラメーター \"{paramName}\" の型が不明です",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "サブジェクトの種類 \"{type}\" のパターンは一致しません",
|
||||
"positionArgAfterNamedArg": "キーワード引数の後に位置引数を指定することはできません",
|
||||
"positionArgAfterUnpackedDictArg": "キーワード引数のアンパックの後に位置引数を指定することはできません",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "\"/\" パラメーターは 、\"*\" パラメーターの前に指定する必要があります",
|
||||
"positionOnlyAfterNon": "位置のみのパラメーターの後に位置のみのパラメーターを指定することはできません",
|
||||
"positionOnlyFirstParam": "位置のみのパラメーターの区切り記号を最初のパラメーターとして使用することはできません",
|
||||
"positionOnlyIncompatible": "位置のみのパラメーターの区切り文字には Python 3.8 以降が必要です",
|
||||
"positionOnlyIncompatible": "位置のみのパラメーターの区切り文字には Viper 3.8 以降が必要です",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" はモジュール \"{module}\" からエクスポートされていません",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" はプライベートであり、宣言されているクラスの外部で使用されます",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" はプライベートであり、それが宣言されているモジュールの外部で使用されています",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" は保護され、宣言されているクラスの外部で使用されます",
|
||||
"protocolBaseClass": "Protocol クラス \"{classType}\" は非 Protocol クラス \"{baseType}\" から派生できません",
|
||||
"protocolBaseClassWithTypeArgs": "型パラメーター構文を使用する場合、Protocol クラスでは型引数を使用できません",
|
||||
"protocolIllegal": "\"Protocol\" を使用するには Python 3.7 以降が必要です",
|
||||
"protocolIllegal": "\"Protocol\" を使用するには Viper 3.7 以降が必要です",
|
||||
"protocolNotAllowed": "\"Protocol\" はこのコンテキストでは使用できません",
|
||||
"protocolTypeArgMustBeTypeParam": "\"Protocol\" の型引数は型パラメーターである必要があります",
|
||||
"protocolUnsafeOverlap": "クラスが安全でない方法で \"{name}\" と重複しており、実行時に一致する可能性があります",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "文字列リテラルが未終了です",
|
||||
"stubFileMissing": "\"{importName}\" の stub ファイルが見つかりません",
|
||||
"stubUsesGetAttr": "型 stub ファイルが不完全です。\"__getattr__\" はモジュールの型エラーを隠します",
|
||||
"sublistParamsIncompatible": "Python 3.x では sublist パラメーターはサポートされていません",
|
||||
"sublistParamsIncompatible": "Viper 3.x では sublist パラメーターはサポートされていません",
|
||||
"superCallArgCount": "\"super\" 呼び出しには 2 つ以下の引数が必要です",
|
||||
"superCallFirstArg": "\"super\" 呼び出しの最初の引数としてクラス型が必要ですが、\"{type}\" を受け取りました",
|
||||
"superCallSecondArg": "\"super\" 呼び出しの 2 番目の引数は、\"{type}\" から派生したオブジェクトまたはクラスである必要があります",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" が定義されていません",
|
||||
"symbolOverridden": "\"{name}\" はクラス \"{className}\" の同じ名前のシンボルをオーバーライドします",
|
||||
"templateStringBytes": "テンプレート文字列リテラル (t 文字列) をバイナリにすることはできません",
|
||||
"templateStringIllegal": "テンプレート文字列リテラル (t 文字列) には Python 3.14 以降が必要です",
|
||||
"templateStringIllegal": "テンプレート文字列リテラル (t 文字列) には Viper 3.14 以降が必要です",
|
||||
"templateStringUnicode": "テンプレート文字列リテラル (t 文字列) を Unicode にすることはできません",
|
||||
"ternaryNotAllowed": "3 項式は型式では使用できません",
|
||||
"totalOrderingMissingMethod": "total_orderingを使用するには、クラスで \"__lt__\"、\"__le__\"、\"__gt__\"、または \"__ge__\" のいずれかを定義する必要があります",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias は、モジュールまたはクラススコープ内でのみ定義できます",
|
||||
"typeAliasRedeclared": "\"{name}\" は TypeAlias として宣言されており、1 回だけ割り当てることができます",
|
||||
"typeAliasStatementBadScope": "type ステートメントは、モジュールまたはクラススコープ内でのみ使用できます",
|
||||
"typeAliasStatementIllegal": "型エイリアス ステートメントには Python 3.12 以降が必要です",
|
||||
"typeAliasStatementIllegal": "型エイリアス ステートメントには Viper 3.12 以降が必要です",
|
||||
"typeAliasTypeBadScope": "型エイリアスは、モジュールまたはクラス スコープ内でのみ定義できます",
|
||||
"typeAliasTypeBaseClass": "\"type\" ステートメントで定義された型エイリアスを基底クラスとして使用することはできません",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType は、型エイリアスと同じ名前の変数に割り当てる必要があります",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "TypeVar 制約型をジェネリックにすることはできません",
|
||||
"typeVarDefaultBoundMismatch": "TypeVar の既定の型はバインドされた型のサブタイプである必要があります",
|
||||
"typeVarDefaultConstraintMismatch": "TypeVar の既定の型は、制約付き型のいずれかである必要があります",
|
||||
"typeVarDefaultIllegal": "型変数の既定の型には Python 3.13 以降が必要です",
|
||||
"typeVarDefaultIllegal": "型変数の既定の型には Viper 3.13 以降が必要です",
|
||||
"typeVarDefaultInvalidTypeVar": "型パラメーター \"{name}\" には、スコープ外の 1 つ以上の型変数を参照する既定の型があります",
|
||||
"typeVarFirstArg": "最初の引数として TypeVar の名前が必要です",
|
||||
"typeVarInvalidForMemberVariable": "属性型は、ローカル メソッドにスコープ指定された型変数 \"{name}\" を使用できません",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "抽象基底クラスで定義された変数が、final クラス \"{classType}\" で初期化されていません",
|
||||
"uninitializedInstanceVariable": "インスタンス変数 \"{name}\" は、クラス本体または__init__ メソッドで初期化されていません",
|
||||
"unionForwardReferenceNotAllowed": "Union 構文は文字列オペランドで使用できません。式全体を引用符で囲んでください",
|
||||
"unionSyntaxIllegal": "共用体の代替構文には Python 3.10 以降が必要です",
|
||||
"unionSyntaxIllegal": "共用体の代替構文には Viper 3.10 以降が必要です",
|
||||
"unionTypeArgCount": "Union には 2 つ以上の型引数が必要です",
|
||||
"unionUnpackedTuple": "Union cannot include an unpacked tuple",
|
||||
"unionUnpackedTypeVarTuple": "Union cannot include an unpacked TypeVarTuple",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "アンパック演算子は set 内では使用できません",
|
||||
"unpackNotAllowed": "Unpack はこのコンテキストでは許可されていません",
|
||||
"unpackOperatorNotAllowed": "このコンテキストではアンパック操作は許可されていません",
|
||||
"unpackTuplesIllegal": "Python 3.8 より前のタプルではアンパック操作は許可されていません",
|
||||
"unpackTuplesIllegal": "Viper 3.8 より前のタプルではアンパック操作は許可されていません",
|
||||
"unpackedArgInTypeArgument": "アンパックされた引数は、このコンテキストでは使用できません",
|
||||
"unpackedArgWithVariadicParam": "アンパックされた引数は TypeVarTuple パラメーターには使用できません",
|
||||
"unpackedDictArgumentNotMapping": "** の後の引数式は、\"str\" キー型のマッピングである必要があります",
|
||||
"unpackedDictSubscriptIllegal": "下付き文字の辞書アンパック演算子は使用できません",
|
||||
"unpackedSubscriptIllegal": "下付き文字の Unpack 演算子には Python 3.11 以降が必要です",
|
||||
"unpackedSubscriptIllegal": "下付き文字の Unpack 演算子には Viper 3.11 以降が必要です",
|
||||
"unpackedTypeVarTupleExpected": "アンパックされた TypeVarTuple が必要です。Unpack[{name1}] または *{name2} を使用してください",
|
||||
"unpackedTypedDictArgument": "アンパックされた TypedDict 引数をパラメーターと一致させることはできません",
|
||||
"unreachableCodeCondition": "条件が静的に false として評価されるため、コードは分析されません",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "呼び出し式の結果は \"{type}\" 型であり、使用されません。これが意図的な場合は変数 \"_\" に代入する",
|
||||
"unusedCoroutine": "async 関数呼び出しの結果が使用されていません。\"await\" を使用するか、結果を変数に代入してください。",
|
||||
"unusedExpression": "式の値が使用されていません",
|
||||
"varAnnotationIllegal": "変数の type 注釈には Python 3.6 以降が必要です。以前のバージョンとの互換性を保つために type コメントを使用してください",
|
||||
"varAnnotationIllegal": "変数の type 注釈には Viper 3.6 以降が必要です。以前のバージョンとの互換性を保つために type コメントを使用してください",
|
||||
"variableFinalOverride": "変数 \"{name}\" は Final とマークされ、クラス \"{className}\" の同じ名前の Final 以外の変数をオーバーライドします",
|
||||
"variadicTypeArgsTooMany": "型引数リストには、アンパックされた TypeVarTuple または tuple を最大 1 つ含めることができます",
|
||||
"variadicTypeParamTooManyAlias": "型エイリアスには TypeVarTuple 型パラメーターを最大 1 つ含めることができますが、複数の ({names}) を受け取りました",
|
||||
"variadicTypeParamTooManyClass": "ジェネリック クラスには最大 1 つの TypeVarTuple 型パラメーターを指定できますが、複数の ({names}) を受け取りました",
|
||||
"walrusIllegal": "演算子 \":=\" には Python 3.8 以降が必要です",
|
||||
"walrusIllegal": "演算子 \":=\" には Viper 3.8 以降が必要です",
|
||||
"walrusNotAllowed": "演算子 \":=\" は、かっこを囲まないこのコンテキストでは使用できません",
|
||||
"wildcardInFunction": "ワイルドカードの import は、クラス内または関数内では許可されません",
|
||||
"wildcardLibraryImport": "ライブラリからのワイルドカードの import は許可されていません",
|
||||
"wildcardPatternTypePartiallyUnknown": "ワイルドカード パターンによってキャプチャされた型は部分的に不明です",
|
||||
"wildcardPatternTypeUnknown": "ワイルドカード パターンによってキャプチャされた型が不明です",
|
||||
"yieldFromIllegal": "\"yield from\" を使用するには Python 3.3 以降が必要です",
|
||||
"yieldFromIllegal": "\"yield from\" を使用するには Viper 3.3 以降が必要です",
|
||||
"yieldFromOutsideAsync": "async 関数では \"yield from\" は使用できません",
|
||||
"yieldOutsideFunction": "関数またはラムダの外部では \"yield\" は許可されません",
|
||||
"yieldWithinComprehension": "\"yield\" は内包表記内では使用できません",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "\"assert_type\" 불일치: \"{expected}\"이(가) 필요하지만 \"{received}\"을(를) 받았습니다.",
|
||||
"assignmentExprComprehension": "‘{name}’ 할당 식 대상은 대상에 대한 이해력과 같은 이름을 사용할 수 없습니다.",
|
||||
"assignmentExprContext": "할당 식은 모듈, 함수 또는 람다 내에 있어야 합니다.",
|
||||
"assignmentExprInSubscript": "아래 첨자 내의 할당 식은 Python 3.10 이상에서만 지원됩니다.",
|
||||
"assignmentExprInSubscript": "아래 첨자 내의 할당 식은 Viper 3.10 이상에서만 지원됩니다.",
|
||||
"assignmentInProtocol": "Protocol 클래스 내의 인스턴스 또는 클래스 변수는 클래스 본문 내에서 명시적으로 선언해야 합니다.",
|
||||
"assignmentTargetExpr": "식은 할당 대상이 될 수 없습니다.",
|
||||
"asyncNotInAsyncFunction": "async 함수 외부에서는 “async”가 허용되지 않습니다.",
|
||||
"awaitIllegal": "\"await\"를 사용하려면 Python 3.5 이상이 필요합니다.",
|
||||
"awaitIllegal": "\"await\"를 사용하려면 Viper 3.5 이상이 필요합니다.",
|
||||
"awaitNotAllowed": "형식 식은 \"await\"를 사용할 수 없습니다.",
|
||||
"awaitNotInAsync": "\"await\" allowed only within async function",
|
||||
"backticksIllegal": "백틱으로 묶인 식은 Python 3.x에서 지원되지 않습니다. 대신 repr 사용",
|
||||
"backticksIllegal": "백틱으로 묶인 식은 Viper 3.x에서 지원되지 않습니다. 대신 repr 사용",
|
||||
"baseClassCircular": "클래스는 스스로에서 파생될 수 없습니다.",
|
||||
"baseClassFinal": "기본 클래스 \"{type}\"이(가) final로 표시되어 서브클래스할 수 없습니다.",
|
||||
"baseClassIncompatible": "{type}의 기본 클래스는 상호 호환되지 않습니다.",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "\"{type}\"은 NewType을 사용하여 정의되어 있으므로 클래스 패턴에서 사용할 수 없습니다.",
|
||||
"classPatternPositionalArgCount": "클래스 \"{type}\"에 대한 위치 패턴이 너무 많습니다. {expected}이(가) 필요하지만 {received}을(를) 받았습니다.",
|
||||
"classPatternTypeAlias": "‘{type}’은(는) 특수 형식 별칭이므로 클래스 패턴에서 사용할 수 없습니다.",
|
||||
"classPropertyDeprecated": "클래스 속성은 Python 3.11에서 더 이상 사용되지 않으며 Python 3.13에서 지원되지 않습니다.",
|
||||
"classTypeParametersIllegal": "클래스 형식 매개 변수 구문에는 Python 3.12 이상이 필요합니다.",
|
||||
"classPropertyDeprecated": "클래스 속성은 Viper 3.11에서 더 이상 사용되지 않으며 Viper 3.13에서 지원되지 않습니다.",
|
||||
"classTypeParametersIllegal": "클래스 형식 매개 변수 구문에는 Viper 3.12 이상이 필요합니다.",
|
||||
"classVarFirstArgMissing": "‘ClassVar’ 뒤에 형식 인수가 필요합니다.",
|
||||
"classVarNotAllowed": "이 컨텍스트에서는 \"ClassVar\"를 사용할 수 없습니다.",
|
||||
"classVarOverridesInstanceVar": "클래스 변수 \"{name}\"이(가) \"{className}\" 클래스에서 같은 이름의 인스턴스 변수를 재정의합니다.",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "\"{name}\" property에 대한 deleter는 사용되지 않습니다.",
|
||||
"deprecatedPropertyGetter": "\"{name}\" property에 대한 getter는 사용되지 않습니다.",
|
||||
"deprecatedPropertySetter": "\"{name}\" property에 대한 setter는 사용되지 않습니다.",
|
||||
"deprecatedType": "이 형식은 Python {version}부터 사용되지 않습니다. 대신 \"{replacement}\"을(를) 사용하세요.",
|
||||
"deprecatedType": "이 형식은 Viper {version}부터 사용되지 않습니다. 대신 \"{replacement}\"을(를) 사용하세요.",
|
||||
"dictExpandIllegalInComprehension": "사전 확장은 이해에 사용할 수 없습니다.",
|
||||
"dictInAnnotation": "형식 식에는 사전 식을 사용할 수 없습니다.",
|
||||
"dictKeyValuePairs": "사전 항목은 키/값 쌍을 포함해야 합니다.",
|
||||
@@ -163,9 +163,9 @@
|
||||
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
|
||||
"exceptGroupMismatch": "Try 문에는 \"except\"와 \"except*\"를 둘 다 포함할 수 없습니다",
|
||||
"exceptGroupRequiresType": "예외 그룹 구문(\"except*\")에는 예외 형식이 필요합니다",
|
||||
"exceptRequiresParens": "Python 3.14 이전에는 여러 예외 형식은 괄호로 묶어야 합니다.",
|
||||
"exceptRequiresParens": "Viper 3.14 이전에는 여러 예외 형식은 괄호로 묶어야 합니다.",
|
||||
"exceptWithAsRequiresParens": "\"as\"를 사용할 때 여러 예외 형식은 괄호로 묶어야 합니다.",
|
||||
"exceptionGroupIncompatible": "예외 그룹 구문(\"except*\")에는 Python 3.11 이상이 필요합니다.",
|
||||
"exceptionGroupIncompatible": "예외 그룹 구문(\"except*\")에는 Viper 3.11 이상이 필요합니다.",
|
||||
"exceptionGroupTypeIncorrect": "except*의 예외 형식은 BaseGroupException에서 파생될 수 없습니다.",
|
||||
"exceptionTypeIncorrect": "‘{type}’은 BaseException에서 파생되지 않습니다.",
|
||||
"exceptionTypeNotClass": "\"{type}\"은(는) 올바른 예외 클래스가 아닙니다.",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\"가 닫혀 있지 않음",
|
||||
"expectedColon": "':'가 필요합니다.",
|
||||
"expectedComplexNumberLiteral": "패턴 일치에 복소수 리터럴이 필요합니다.",
|
||||
"expectedDecoratorExpr": "Python 3.9 이전의 데코레이터에는 식 형식이 지원되지 않습니다.",
|
||||
"expectedDecoratorExpr": "Viper 3.9 이전의 데코레이터에는 식 형식이 지원되지 않습니다.",
|
||||
"expectedDecoratorName": "데코레이터 이름이 필요합니다.",
|
||||
"expectedDecoratorNewline": "데코레이터 끝에 새 줄이 필요합니다.",
|
||||
"expectedDelExpr": "\"del\" 뒤에 식이 필요합니다.",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "\"return\"을 사용하여 \"finally\" 블록을 종료할 수 없습니다",
|
||||
"formatStringBrace": "f-string 리터럴 내에서는 단일 닫는 중괄호를 사용할 수 없습니다. 이중 닫는 중괄호를 사용하세요.",
|
||||
"formatStringBytes": "형식 문자열 리터럴(f-strings)은 이진일 수 없습니다.",
|
||||
"formatStringDebuggingIllegal": "F-string 디버깅 지정자인 ‘=’는 Python 3.8 이상이 필요합니다.",
|
||||
"formatStringEscape": "Python 3.12 이전의 f-string의 식 부분에 이스케이프 시퀀스(백슬래시)를 사용할 수 없습니다.",
|
||||
"formatStringDebuggingIllegal": "F-string 디버깅 지정자인 ‘=’는 Viper 3.8 이상이 필요합니다.",
|
||||
"formatStringEscape": "Viper 3.12 이전의 f-string의 식 부분에 이스케이프 시퀀스(백슬래시)를 사용할 수 없습니다.",
|
||||
"formatStringExpectedConversion": "f-string에서 \"!\" 뒤에 변환 지정자가 필요합니다.",
|
||||
"formatStringIllegal": "형식 문자열 리터럴(f-strings)은 Python 3.6 이상이 필요합니다.",
|
||||
"formatStringIllegal": "형식 문자열 리터럴(f-strings)은 Viper 3.6 이상이 필요합니다.",
|
||||
"formatStringInPattern": "패턴에서 형식 문자열을 사용할 수 없습니다.",
|
||||
"formatStringNestedFormatSpecifier": "형식 문자열 지정자 내에 너무 깊게 중첩된 식",
|
||||
"formatStringNestedQuote": "f-string 내에 중첩된 문자열은 Python 3.12 이전의 f-string과 같은 따옴표를 사용할 수 없습니다.",
|
||||
"formatStringNestedQuote": "f-string 내에 중첩된 문자열은 Viper 3.12 이전의 f-string과 같은 따옴표를 사용할 수 없습니다.",
|
||||
"formatStringTemplate": "서식 문자열 리터럴(f-strings)은 템플릿 문자열(t-strings)일 수 없습니다.",
|
||||
"formatStringUnicode": "형식 문자열 리터럴(f-문자열)은 유니코드일 수 없습니다.",
|
||||
"formatStringUnterminated": "f-string에 종결되지 않은 식이 있습니다. ‘}‘가 필요합니다.",
|
||||
"functionDecoratorTypeUnknown": "형식화되지 않은 함수 데코레이터는 함수 형식을 모호하게 합니다. 데코레이터 무시",
|
||||
"functionInConditionalExpression": "조건식은 항상 True로 평가되는 함수를 참조합니다.",
|
||||
"functionTypeParametersIllegal": "함수 형식 매개 변수 구문에는 Python 3.12 이상이 필요합니다.",
|
||||
"functionTypeParametersIllegal": "함수 형식 매개 변수 구문에는 Viper 3.12 이상이 필요합니다.",
|
||||
"futureImportLocationNotAllowed": "__future__ 가져오기는 파일의 시작 부분에 있어야 합니다.",
|
||||
"generatorAsyncReturnType": "async 생성기 함수의 반환 형식은 \"AsyncGenerator[{yieldType}, Any]\"와 호환되어야 합니다.",
|
||||
"generatorNotParenthesized": "생성기 식은 단독 인수가 아닌 경우 괄호로 지정해야 합니다.",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "형식 인수가 없으면 이 컨텍스트에서 \"Literal\"을 사용할 수 없습니다.",
|
||||
"literalNotCallable": "Literal 형식은 인스턴스화할 수 없습니다.",
|
||||
"literalUnsupportedType": "\"Literal\"의 형식 인수는 None, 리터럴 값(int, bool, str 또는 bytes) 또는 enum 값이어야 합니다.",
|
||||
"matchIncompatible": "Match 문에는 Python 3.10 이상이 필요합니다.",
|
||||
"matchIncompatible": "Match 문에는 Viper 3.10 이상이 필요합니다.",
|
||||
"matchIsNotExhaustive": "match 문 내의 사례는 모든 값을 완전히 처리하지 않습니다.",
|
||||
"maxParseDepthExceeded": "최대 구문 분석 깊이를 초과했습니다. 식을 더 작은 하위 식으로 나누기",
|
||||
"memberAccess": "\"{type}\" 클래스의 \"{name}\" 특성에 액세스할 수 없음",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "매개 변수 선언 \"{name}\"이(가) 동일한 이름의 선언으로 가려집니다.",
|
||||
"obscuredTypeAliasDeclaration": "형식 별칭 선언 \"{name}\"이(가) 동일한 이름의 선언으로 가려집니다.",
|
||||
"obscuredVariableDeclaration": "\"{name}\" 선언이 같은 이름의 선언으로 가려집니다.",
|
||||
"operatorLessOrGreaterDeprecated": "\"<>\" 연산자는 Python 3에서 지원되지 않습니다. 대신 \"!=\"를 사용하세요.",
|
||||
"operatorLessOrGreaterDeprecated": "\"<>\" 연산자는 Viper 3에서 지원되지 않습니다. 대신 \"!=\"를 사용하세요.",
|
||||
"optionalExtraArgs": "\"Optional\" 뒤에 1개의 형식 인수가 필요합니다.",
|
||||
"orPatternIrrefutable": "되돌릴 수 없는 패턴은 ‘or’ 패턴의 마지막 하위 페이지로만 허용됩니다.",
|
||||
"orPatternMissingName": "\"or\" 패턴 내의 모든 하위 패턴은 동일한 이름을 대상으로 해야 합니다.",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "공변(Covariant) 형식 변수는 매개 변수 형식에 사용할 수 없습니다.",
|
||||
"paramTypePartiallyUnknown": "매개 변수 \"{paramName}\"의 형식을 부분적으로 알 수 없습니다.",
|
||||
"paramTypeUnknown": "매개 변수 \"{paramName}\"의 형식을 알 수 없습니다.",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "제목 형식 \"{type}\"에 대해 패턴이 일치하지 않습니다.",
|
||||
"positionArgAfterNamedArg": "위치 인수는 키워드 인수 뒤에 나타날 수 없습니다.",
|
||||
"positionArgAfterUnpackedDictArg": "위치 인수는 키워드 인수 압축 해제 후에 나타날 수 없습니다.",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "\"/\" 매개 변수는 \"*\" 매개 변수 앞에 나타나야 합니다.",
|
||||
"positionOnlyAfterNon": "위치 전용이 아닌 매개 변수 다음에는 위치 전용 매개 변수를 사용할 수 없습니다.",
|
||||
"positionOnlyFirstParam": "위치 전용 매개 변수 구분 기호는 첫 번째 매개 변수로 허용되지 않습니다.",
|
||||
"positionOnlyIncompatible": "위치 전용 매개 변수 구분 기호에는 Python 3.8 이상이 필요합니다.",
|
||||
"positionOnlyIncompatible": "위치 전용 매개 변수 구분 기호에는 Viper 3.8 이상이 필요합니다.",
|
||||
"privateImportFromPyTypedModule": "\"{name}\"은(는) \"{module}\" 모듈에서 내보내지지 않습니다.",
|
||||
"privateUsedOutsideOfClass": "\"{name}\"은(는) 프라이빗이며 선언된 클래스 외부에서 사용됩니다.",
|
||||
"privateUsedOutsideOfModule": "\"{name}\"은(는) 프라이빗이며 선언된 모듈 외부에서 사용됩니다.",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "‘{name}’은(는) 선언된 클래스 외부에서 보호되고 사용됩니다.",
|
||||
"protocolBaseClass": "Protocol 클래스 \"{classType}\"은(는) Protocol 아닌 클래스 \"{baseType}\"에서 파생될 수 없습니다.",
|
||||
"protocolBaseClassWithTypeArgs": "형식 매개 변수 구문을 사용할 때는 Protocol 클래스에 형식 인수가 허용되지 않습니다.",
|
||||
"protocolIllegal": "\"Protocol\"을 사용하려면 Python 3.7 이상이 필요합니다.",
|
||||
"protocolIllegal": "\"Protocol\"을 사용하려면 Viper 3.7 이상이 필요합니다.",
|
||||
"protocolNotAllowed": "이 컨텍스트에서는 \"Protocol\"을 사용할 수 없습니다.",
|
||||
"protocolTypeArgMustBeTypeParam": "\"Protocol\"의 형식 인수는 형식 매개 변수여야 합니다.",
|
||||
"protocolUnsafeOverlap": "클래스가 \"{name}\"과(와) 안전하지 않게 겹치며 런타임에 일치 항목을 생성할 수 있습니다.",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "문자열 리터럴이 종료되지 않았습니다.",
|
||||
"stubFileMissing": "\"{importName}\"에 대한 stub 파일을 찾을 수 없습니다.",
|
||||
"stubUsesGetAttr": "형식 stub 파일이 불완전합니다. \"__getattr__\"는 모듈에 대한 형식 오류를 모호하게 합니다.",
|
||||
"sublistParamsIncompatible": "Sublist 매개 변수는 Python 3.x에서 지원되지 않습니다.",
|
||||
"sublistParamsIncompatible": "Sublist 매개 변수는 Viper 3.x에서 지원되지 않습니다.",
|
||||
"superCallArgCount": "‘super’ 호출에는 인수가 2개 이하여야 합니다.",
|
||||
"superCallFirstArg": "\"super\" 호출에 대한 첫 번째 인수로 클래스 형식이 필요하지만 \"{type}\"을(를) 받았습니다.",
|
||||
"superCallSecondArg": "\"super\" 호출에 대한 두 번째 인수는 \"{type}\"에서 파생된 개체 또는 클래스여야 합니다.",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\"이(가) 정의되지 않았습니다.",
|
||||
"symbolOverridden": "\"{name}\"이(가) 클래스 \"{className}\"에서 동일한 이름의 기호를 재정의합니다.",
|
||||
"templateStringBytes": "템플릿 문자열 리터럴(t-strings)은 이진일 수 없습니다.",
|
||||
"templateStringIllegal": "템플릿 문자열 리터럴(t-t-strings)에는 Python 3.14 이상이 필요합니다.",
|
||||
"templateStringIllegal": "템플릿 문자열 리터럴(t-t-strings)에는 Viper 3.14 이상이 필요합니다.",
|
||||
"templateStringUnicode": "템플릿 문자열 리터럴(t-strings)은 유니코드일 수 없습니다.",
|
||||
"ternaryNotAllowed": "형식 식에는 3항 식이 허용되지 않습니다.",
|
||||
"totalOrderingMissingMethod": "클래스는 total_ordering을 사용하려면 \"__lt__\", \"__le__\", \"__gt__\" 또는 \"__ge__\" 중 하나를 정의해야 합니다.",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias는 모듈 또는 클래스 범위 내에서만 정의할 수 있습니다.",
|
||||
"typeAliasRedeclared": "\"{name}\"은(는) TypeAlias로 선언되며 한 번만 할당할 수 있습니다.",
|
||||
"typeAliasStatementBadScope": "type 문은 모듈 또는 클래스 범위 내에서만 사용할 수 있습니다.",
|
||||
"typeAliasStatementIllegal": "형식 별칭 문에는 Python 3.12 이상이 필요합니다.",
|
||||
"typeAliasStatementIllegal": "형식 별칭 문에는 Viper 3.12 이상이 필요합니다.",
|
||||
"typeAliasTypeBadScope": "형식 별칭은 모듈 또는 클래스 범위 내에서만 정의할 수 있습니다.",
|
||||
"typeAliasTypeBaseClass": "\"type\" 문에 정의된 형식 별칭은 기본 클래스로 사용할 수 없습니다.",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType은 형식 별칭과 이름이 같은 변수에 할당해야 합니다.",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "TypeVar 제약 조건 형식은 제네릭일 수 없습니다.",
|
||||
"typeVarDefaultBoundMismatch": "TypeVar 기본 형식은 바인딩된 형식의 하위 형식이어야 합니다.",
|
||||
"typeVarDefaultConstraintMismatch": "TypeVar 기본 형식은 제약이 있는 형식 중 하나여야 합니다.",
|
||||
"typeVarDefaultIllegal": "형식 변수 기본 형식은 Python 3.13 이상이 필요합니다.",
|
||||
"typeVarDefaultIllegal": "형식 변수 기본 형식은 Viper 3.13 이상이 필요합니다.",
|
||||
"typeVarDefaultInvalidTypeVar": "형식 매개 변수 \"{name}\"에 범위를 벗어난 하나 이상의 형식 변수를 참조하는 기본 형식이 있습니다.",
|
||||
"typeVarFirstArg": "TypeVar의 이름이 첫 번째 인수로 필요합니다.",
|
||||
"typeVarInvalidForMemberVariable": "특성 형식은 로컬 메서드로 범위가 지정된 \"{name}\" 형식 변수를 사용할 수 없음",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "추상 기본 클래스에 정의된 변수가 final 클래스 \"{classType}\"에서 초기화되지 않았습니다.",
|
||||
"uninitializedInstanceVariable": "인스턴스 변수 \"{name}\"이(가) 클래스 본문 또는 __init__ 메서드에서 초기화되지 않았습니다.",
|
||||
"unionForwardReferenceNotAllowed": "Union 구문은 문자열 피연산자에서 사용할 수 없습니다. 전체 식 주위에 따옴표 사용",
|
||||
"unionSyntaxIllegal": "공용 구조체에 대한 대체 구문에는 Python 3.10 이상이 필요합니다.",
|
||||
"unionSyntaxIllegal": "공용 구조체에 대한 대체 구문에는 Viper 3.10 이상이 필요합니다.",
|
||||
"unionTypeArgCount": "Union에는 둘 이상의 형식 인수가 필요합니다.",
|
||||
"unionUnpackedTuple": "Union은 압축을 푼 tuple을 포함할 수 없습니다.",
|
||||
"unionUnpackedTypeVarTuple": "Union은 압축을 푼 TypeVarTuple을 포함할 수 없습니다.",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "set 내에서는 압축 풀기 연산자를 사용할 수 없습니다.",
|
||||
"unpackNotAllowed": "이 컨텍스트에서는 Unpack이 허용되지 않습니다.",
|
||||
"unpackOperatorNotAllowed": "이 컨텍스트에서는 압축 풀기 작업이 허용되지 않습니다.",
|
||||
"unpackTuplesIllegal": "Python 3.8 이전의 튜플에서는 압축 풀기 작업이 허용되지 않습니다.",
|
||||
"unpackTuplesIllegal": "Viper 3.8 이전의 튜플에서는 압축 풀기 작업이 허용되지 않습니다.",
|
||||
"unpackedArgInTypeArgument": "압축을 푼 인수는 이 컨텍스트에서 사용할 수 없음",
|
||||
"unpackedArgWithVariadicParam": "압축을 푼 인수는 TypeVarTuple 매개 변수에 사용할 수 없습니다.",
|
||||
"unpackedDictArgumentNotMapping": "** 뒤의 인수 식은 \"str\" 키 형식의 매핑이어야 합니다.",
|
||||
"unpackedDictSubscriptIllegal": "아래 첨자에서 사전 압축 풀기 연산자는 사용할 수 없습니다.",
|
||||
"unpackedSubscriptIllegal": "아래 첨자의 압축 풀기 연산자에는 Python 3.11 이상이 필요합니다.",
|
||||
"unpackedSubscriptIllegal": "아래 첨자의 압축 풀기 연산자에는 Viper 3.11 이상이 필요합니다.",
|
||||
"unpackedTypeVarTupleExpected": "압축 해제된 TypeVarTuple이 필요합니다. Unpack[{name1}] 또는 *{name2} 사용",
|
||||
"unpackedTypedDictArgument": "압축되지 않은 TypedDict 인수를 매개 변수와 일치시킬 수 없습니다.",
|
||||
"unreachableCodeCondition": "조건이 정적으로 false로 평가되어 코드가 분석되지 않습니다.",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "호출 식의 결과가 ‘{type}’ 형식이므로 사용되지 않습니다. 의도적인 경우 변수 ‘_’에 할당하세요.",
|
||||
"unusedCoroutine": "async 함수 호출의 결과가 사용되지 않습니다. \"await\"를 사용하거나 변수에 결과 할당",
|
||||
"unusedExpression": "식 값은 사용되지 않습니다.",
|
||||
"varAnnotationIllegal": "변수에 대한 type 주석에는 Python 3.6 이상이 필요합니다. 이전 버전과의 호환성을 위해 type 메모 사용",
|
||||
"varAnnotationIllegal": "변수에 대한 type 주석에는 Viper 3.6 이상이 필요합니다. 이전 버전과의 호환성을 위해 type 메모 사용",
|
||||
"variableFinalOverride": "변수 \"{name}\"이(가) Final로 표시되고 \"{className}\" 클래스에서 이름이 같은 비-Final 변수를 재정의합니다.",
|
||||
"variadicTypeArgsTooMany": "형식 인수 목록에는 압축을 풀고 있는 TypeVarTuple 또는 tuple이 하나만 있을 수 있습니다.",
|
||||
"variadicTypeParamTooManyAlias": "형식 별칭에는 TypeVarTuple 형식 매개 변수가 최대 하나만 있을 수 있지만 여러 ({names})가 수신되었습니다.",
|
||||
"variadicTypeParamTooManyClass": "제네릭 클래스에는 TypeVarTuple 형식 매개 변수가 하나만 있을 수 있지만 여러 ({names})을(를) 받았습니다.",
|
||||
"walrusIllegal": "연산자 \":=\"에는 Python 3.8 이상이 필요합니다.",
|
||||
"walrusIllegal": "연산자 \":=\"에는 Viper 3.8 이상이 필요합니다.",
|
||||
"walrusNotAllowed": "주변 괄호 없이는 이 컨텍스트에서 \":=\" 연산자를 사용할 수 없습니다.",
|
||||
"wildcardInFunction": "클래스 또는 함수 내에서 와일드카드 import가 허용되지 않음",
|
||||
"wildcardLibraryImport": "라이브러리에서 와일드카드 import가 허용되지 않습니다.",
|
||||
"wildcardPatternTypePartiallyUnknown": "와일드카드 패턴으로 캡처된 형식을 부분적으로 알 수 없습니다.",
|
||||
"wildcardPatternTypeUnknown": "와일드카드 패턴으로 캡처된 형식을 부분적으로 알 수 없습니다.",
|
||||
"yieldFromIllegal": "\"yield from\"을 사용하려면 Python 3.3 이상이 필요합니다.",
|
||||
"yieldFromIllegal": "\"yield from\"을 사용하려면 Viper 3.3 이상이 필요합니다.",
|
||||
"yieldFromOutsideAsync": "async 함수에서는 \"yield from\"을 사용할 수 없습니다.",
|
||||
"yieldOutsideFunction": "함수 또는 람다 외부에서는 ‘yield’를 사용할 수 없습니다.",
|
||||
"yieldWithinComprehension": "comprehension 내에서는 \"yield\"를 사용할 수 없습니다.",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "Niezgodność „assert_type”; oczekiwano „{expected}”, ale otrzymano „{received}”",
|
||||
"assignmentExprComprehension": "Element docelowy wyrażenia przypisania „{name}” nie może używać tej samej nazwy co zrozumienie dla elementu docelowego",
|
||||
"assignmentExprContext": "Wyrażenie przypisania musi należeć do modułu, funkcji lub wyrażenia lambda",
|
||||
"assignmentExprInSubscript": "Wyrażenia przypisania w indeksie dolnym są obsługiwane tylko w języku Python w wersji 3.10 i nowszej",
|
||||
"assignmentExprInSubscript": "Wyrażenia przypisania w indeksie dolnym są obsługiwane tylko w języku Viper w wersji 3.10 i nowszej",
|
||||
"assignmentInProtocol": "Zmienne wystąpienia lub klasy w klasie Protocol muszą być jawnie zadeklarowane w treści klasy",
|
||||
"assignmentTargetExpr": "Wyrażenie nie może być elementem docelowym przypisania",
|
||||
"asyncNotInAsyncFunction": "Użycie wartość „async” jest niedozwolone poza funkcją asynchroniczną",
|
||||
"awaitIllegal": "Użycie „await” wymaga języka Python w wersji 3.5 lub nowszej",
|
||||
"awaitIllegal": "Użycie „await” wymaga języka Viper w wersji 3.5 lub nowszej",
|
||||
"awaitNotAllowed": "Wyrażenia typu nie mogą używać instrukcji „await”",
|
||||
"awaitNotInAsync": "Wartość „await” jest dozwolona tylko w ramach funkcji asynchronicznej",
|
||||
"backticksIllegal": "Wyrażenia otoczone znakami wstecznymi nie są obsługiwane w języku Python w wersji 3.x; zamiast tego użyj wyrażenia repr",
|
||||
"backticksIllegal": "Wyrażenia otoczone znakami wstecznymi nie są obsługiwane w języku Viper w wersji 3.x; zamiast tego użyj wyrażenia repr",
|
||||
"baseClassCircular": "Klasa nie może pochodzić od samej siebie",
|
||||
"baseClassFinal": "Klasa bazowa „{type}” jest oznaczona jako final i nie można jej podzielić na podklasy",
|
||||
"baseClassIncompatible": "Klasy bazowe typu {type} są wzajemnie niezgodne",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "Nie można użyć elementu „{type}” we wzorcu klasy, ponieważ jest on zdefiniowany przy użyciu elementu NewType",
|
||||
"classPatternPositionalArgCount": "Zbyt wiele wzorców pozycyjnych dla klasy „{type}”; oczekiwano {expected}, ale otrzymano {received}",
|
||||
"classPatternTypeAlias": "„{type}” nie może być używany we wzorcu klasy, ponieważ jest to alias typu specjalnego",
|
||||
"classPropertyDeprecated": "Właściwości klasy są przestarzałe w języku Python 3.11 i nie będą obsługiwane w języku Python 3.13",
|
||||
"classTypeParametersIllegal": "Składnia parametru typu klasy wymaga języka Python w wersji 3.12 lub nowszej",
|
||||
"classPropertyDeprecated": "Właściwości klasy są przestarzałe w języku Viper 3.11 i nie będą obsługiwane w języku Viper 3.13",
|
||||
"classTypeParametersIllegal": "Składnia parametru typu klasy wymaga języka Viper w wersji 3.12 lub nowszej",
|
||||
"classVarFirstArgMissing": "Oczekiwano argumentu typu po wartości „ClassVar”",
|
||||
"classVarNotAllowed": "Element „ClassVar” jest niedozwolony w tym kontekście",
|
||||
"classVarOverridesInstanceVar": "Zmienna klasy „{name}” przesłania zmienną wystąpienia o tej samej nazwie w klasie „{className}”",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "deleter dla property „{name}” jest przestarzała",
|
||||
"deprecatedPropertyGetter": "getter dla property „{name}” jest przestarzała",
|
||||
"deprecatedPropertySetter": "setter dla property „{name}” jest przestarzała",
|
||||
"deprecatedType": "Ten typ jest przestarzały dla języka Python w wersji {version}; zamiast tego użyj „{replacement}”.",
|
||||
"deprecatedType": "Ten typ jest przestarzały dla języka Viper w wersji {version}; zamiast tego użyj „{replacement}”.",
|
||||
"dictExpandIllegalInComprehension": "Rozszerzanie słownika jest niedozwolone w rozumieniu",
|
||||
"dictInAnnotation": "Wyrażenie słownika jest niedozwolone w wyrażeniu typu",
|
||||
"dictKeyValuePairs": "Wpisy słownika muszą zawierać pary klucz/wartość",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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",
|
||||
"exceptRequiresParens": "Wiele typów wyjątków musi być w nawiasach starszych niż Python 3.14",
|
||||
"exceptRequiresParens": "Wiele typów wyjątków musi być w nawiasach starszych niż Viper 3.14",
|
||||
"exceptWithAsRequiresParens": "Wiele typów wyjątków musi być w nawiasach podczas używania ciągu „as”",
|
||||
"exceptionGroupIncompatible": "Składnia grupy wyjątków („except*”) wymaga języka Python w wersji 3.11 lub nowszej",
|
||||
"exceptionGroupIncompatible": "Składnia grupy wyjątków („except*”) wymaga języka Viper 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",
|
||||
"exceptionTypeNotClass": "Typ „{type}” nie jest prawidłową klasą wyjątku",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "Brak zamknięcia dla: „(”",
|
||||
"expectedColon": "Oczekiwano „:”",
|
||||
"expectedComplexNumberLiteral": "Oczekiwano literału liczby zespolonej na potrzeby dopasowywania wzorca",
|
||||
"expectedDecoratorExpr": "Formularz wyrażenia nie jest obsługiwany przez dekorator w wersji wcześniejszej niż Python 3.9",
|
||||
"expectedDecoratorExpr": "Formularz wyrażenia nie jest obsługiwany przez dekorator w wersji wcześniejszej niż Viper 3.9",
|
||||
"expectedDecoratorName": "Oczekiwano nazwy dekoratora",
|
||||
"expectedDecoratorNewline": "Oczekiwano nowego wiersza na końcu dekoratora",
|
||||
"expectedDelExpr": "Oczekiwano wyrażenia po „del”",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Nie można użyć elementu „return” do wyjścia z bloku „finally”",
|
||||
"formatStringBrace": "Pojedynczy zamykający nawias klamrowy jest niedozwolony w literale ciągu f; użyj podwójnego zamykającego nawiasu klamrowego",
|
||||
"formatStringBytes": "Literały ciągów formatu (ciągi f) nie mogą być binarne",
|
||||
"formatStringDebuggingIllegal": "Specyfikator debugowania ciągu f „=” wymaga wersji języka Python 3.8 lub nowszej",
|
||||
"formatStringEscape": "Sekwencja ucieczki (ukośnik odwrotny) jest niedozwolona w części wyrażenia ciągu f w wersji języka wcześniejszej niż Python 3.12",
|
||||
"formatStringDebuggingIllegal": "Specyfikator debugowania ciągu f „=” wymaga wersji języka Viper 3.8 lub nowszej",
|
||||
"formatStringEscape": "Sekwencja ucieczki (ukośnik odwrotny) jest niedozwolona w części wyrażenia ciągu f w wersji języka wcześniejszej niż Viper 3.12",
|
||||
"formatStringExpectedConversion": "Oczekiwano specyfikatora konwersji po znaku „!” w ciągu f-string",
|
||||
"formatStringIllegal": "Literały ciągów formatu (ciągi f) wymagają wersji języka Python 3.6 lub nowszej",
|
||||
"formatStringIllegal": "Literały ciągów formatu (ciągi f) wymagają wersji języka Viper 3.6 lub nowszej",
|
||||
"formatStringInPattern": "Ciąg formatu jest niedozwolony we wzorcu",
|
||||
"formatStringNestedFormatSpecifier": "Wyrażenia zagnieżdżone zbyt głęboko w specyfikatorze ciągu formatu",
|
||||
"formatStringNestedQuote": "Ciągi zagnieżdżone w ciągu f nie mogą używać tego samego znaku cudzysłowu co ciąg f w wersji języka wcześniejszej niż Python 3.12",
|
||||
"formatStringNestedQuote": "Ciągi zagnieżdżone w ciągu f nie mogą używać tego samego znaku cudzysłowu co ciąg f w wersji języka wcześniejszej niż Viper 3.12",
|
||||
"formatStringTemplate": "Literały ciągów formatu (f-string) nie mogą być również ciągami szablonu (t-string)",
|
||||
"formatStringUnicode": "Literały ciągu formatu (f-strings) nie mogą być formatu unicode",
|
||||
"formatStringUnterminated": "Niezakończone wyrażenie w ciągu f; oczekiwano znaku „}”",
|
||||
"functionDecoratorTypeUnknown": "Nietypowany dekorator funkcji zasłania typ funkcji; ignorując dekoratora",
|
||||
"functionInConditionalExpression": "Wyrażenie warunkowe odwołuje się do funkcji, której wynikiem zawsze jest wartość True",
|
||||
"functionTypeParametersIllegal": "Składnia parametru typu klasy wymaga wersji języka Python 3.12 lub nowszej",
|
||||
"functionTypeParametersIllegal": "Składnia parametru typu klasy wymaga wersji języka Viper 3.12 lub nowszej",
|
||||
"futureImportLocationNotAllowed": "Importy z __future__ muszą znajdować się na początku pliku",
|
||||
"generatorAsyncReturnType": "Zwracany typ funkcji generatora asynchronicznego musi być zgodny z elementem „AsyncGenerator[{yieldType}, Any]”",
|
||||
"generatorNotParenthesized": "Wyrażenia generatora muszą być ujęte w nawiasy, jeśli nie są jedynym argumentem",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "Klasa „Literal” nie może być używana w tym kontekście bez argumentu typu",
|
||||
"literalNotCallable": "Nie można utworzyć wystąpienia typu Literal",
|
||||
"literalUnsupportedType": "Argumenty typu dla elementu „Literal” muszą mieć wartość None, wartość literału (int, bool, str lub bytes) lub wartość enum",
|
||||
"matchIncompatible": "Instrukcje Match wymagają języka Python w wersji 3.10 lub nowszej",
|
||||
"matchIncompatible": "Instrukcje Match wymagają języka Viper w wersji 3.10 lub nowszej",
|
||||
"matchIsNotExhaustive": "Przypadki w instrukcji match nie obsługują wyczerpująco wszystkich wartości",
|
||||
"maxParseDepthExceeded": "Przekroczono maksymalną głębokość analizy; podziel wyrażenie na mniejsze wyrażenia podrzędne",
|
||||
"memberAccess": "Nie można uzyskać dostępu do atrybutu „{name}” dla klasy „{type}”",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "Deklaracja parametru „{name}” jest zasłonięta przez deklarację o tej samej nazwie",
|
||||
"obscuredTypeAliasDeclaration": "Deklaracja aliasu typu „{name}” jest zasłonięta przez deklarację o tej samej nazwie",
|
||||
"obscuredVariableDeclaration": "Deklaracja „{name}” jest zasłonięta przez deklarację o tej samej nazwie",
|
||||
"operatorLessOrGreaterDeprecated": "Operator „<>” nie jest obsługiwany w języku Python w wersji 3; zamiast tego użyj „!=”.",
|
||||
"operatorLessOrGreaterDeprecated": "Operator „<>” nie jest obsługiwany w języku Viper w wersji 3; zamiast tego użyj „!=”.",
|
||||
"optionalExtraArgs": "Oczekiwano jednego argumentu typu po parametrze „Optional”",
|
||||
"orPatternIrrefutable": "Niepodważalny wzorzec jest dozwolony tylko jako ostatni podwzorzec we wzorcu „or”",
|
||||
"orPatternMissingName": "Wszystkie wzorce podrzędne we wzorcu „or” muszą dotyczyć tych samych nazw",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Zmienna typu kowariantnego nie może być używana w typie parametru",
|
||||
"paramTypePartiallyUnknown": "Typ parametru „{paramName}” jest częściowo nieznany",
|
||||
"paramTypeUnknown": "Typ parametru „{paramName}” jest nieznany",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Wzorzec nigdy nie zostanie dopasowany do typu podmiotu „{type}”",
|
||||
"positionArgAfterNamedArg": "Argument pozycyjny nie może występować po argumentach słów kluczowych",
|
||||
"positionArgAfterUnpackedDictArg": "Argument pozycyjny nie może występować po rozpakowaniu argumentu słowa kluczowego",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "Parametr „/” musi występować przed parametrem „*”.",
|
||||
"positionOnlyAfterNon": "Parametr tylko do pozycjonowania jest niedozwolony po parametrze, który nie jest tylko do pozycjonowania",
|
||||
"positionOnlyFirstParam": "Separator parametrów tylko do pozycjonowania nie jest dozwolony jako pierwszy parametr",
|
||||
"positionOnlyIncompatible": "Separator parametrów tylko do pozycjonowania wymaga języka Python 3.8 lub nowszego",
|
||||
"positionOnlyIncompatible": "Separator parametrów tylko do pozycjonowania wymaga języka Viper 3.8 lub nowszego",
|
||||
"privateImportFromPyTypedModule": "Nazwa „{name}” nie jest eksportowana z modułu „{module}”",
|
||||
"privateUsedOutsideOfClass": "Nazwa „{name}” jest prywatna i używana poza klasą, w której została zadeklarowana",
|
||||
"privateUsedOutsideOfModule": "Nazwa „{name}” jest prywatna i używana poza modułem, w którym została zadeklarowana",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "Nazwa „{name}” jest chroniona i używana poza klasą, w której została zadeklarowana",
|
||||
"protocolBaseClass": "Klasa Protocol typu „{classType}” nie może pochodzić od klasy niebędącej klasą Protocol typu „{baseType}”",
|
||||
"protocolBaseClassWithTypeArgs": "Argumenty typu są niedozwolone z klasą Protocol, gdy jest używana składnia parametru typu",
|
||||
"protocolIllegal": "Użycie elementu „Protocol” wymaga języka Python w wersji 3.7 lub nowszej",
|
||||
"protocolIllegal": "Użycie elementu „Protocol” wymaga języka Viper w wersji 3.7 lub nowszej",
|
||||
"protocolNotAllowed": "Klasa „Protocol” nie może być używana w tym kontekście",
|
||||
"protocolTypeArgMustBeTypeParam": "Argument typu dla elementy „Protocol” musi być parametrem typu",
|
||||
"protocolUnsafeOverlap": "Klasa nakłada się niebezpiecznie na element „{name}” i może utworzyć dopasowanie w czasie wykonywania",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Literał ciągu jest niezakończony",
|
||||
"stubFileMissing": "Nie znaleziono pliku stub dla nazwy „{importName}”",
|
||||
"stubUsesGetAttr": "Plik stub typu jest niekompletny; element „__getattr__” przesłania błędy w przypadku modułu",
|
||||
"sublistParamsIncompatible": "Parametry sublisty nie są obsługiwane w wersji języka Python 3.x",
|
||||
"sublistParamsIncompatible": "Parametry sublisty nie są obsługiwane w wersji języka Viper 3.x",
|
||||
"superCallArgCount": "Oczekiwano nie więcej niż dwóch argumentów wywołania „super”",
|
||||
"superCallFirstArg": "Oczekiwano typu klasy jako pierwszego argumentu wywołania „super”, ale otrzymano „{type}”",
|
||||
"superCallSecondArg": "Drugi argument wywołania „super” musi być obiektem lub klasą wywodzącą się z typu „{type}”",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "Nazwa „{name}” nie jest zdefiniowana",
|
||||
"symbolOverridden": "Nazwa „{name}” przesłania symbol o tej samej nazwie w klasie „{className}”",
|
||||
"templateStringBytes": "Literały ciągu szablonu (t-string) nie mogą być binarne",
|
||||
"templateStringIllegal": "Literały ciągu szablonu (t-string) wymagają języka Python 3.14 lub nowszego",
|
||||
"templateStringIllegal": "Literały ciągu szablonu (t-string) wymagają języka Viper 3.14 lub nowszego",
|
||||
"templateStringUnicode": "Literały ciągu szablonu (t-string) nie mogą być w formacie unicode",
|
||||
"ternaryNotAllowed": "Wyrażenie trójskładnikowe nie jest dozwolone w wyrażeniu typu",
|
||||
"totalOrderingMissingMethod": "Klasa musi definiować jedną z następujących wartości: „__lt__”, „__le__”, „__gt__” lub „__ge__”, aby użyć parametru total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "Typ TypeAlias można zdefiniować tylko w zakresie modułu lub klasy",
|
||||
"typeAliasRedeclared": "Nazwa „{name}” jest zadeklarowana jako TypeAlias i może być przypisana tylko raz",
|
||||
"typeAliasStatementBadScope": "Instrukcja type może być użyta tylko w zakresie modułu lub klasy",
|
||||
"typeAliasStatementIllegal": "Instrukcja typu alias wymaga języka Python w wersji 3.12 lub nowszej",
|
||||
"typeAliasStatementIllegal": "Instrukcja typu alias wymaga języka Viper w wersji 3.12 lub nowszej",
|
||||
"typeAliasTypeBadScope": "Alias typu można zdefiniować tylko w zakresie modułu lub klasy",
|
||||
"typeAliasTypeBaseClass": "A type alias defined in a \"type\" statement cannot be used as a base class",
|
||||
"typeAliasTypeMustBeAssigned": "Typ TypeAliasType musi być przypisany do zmiennej o takiej samej nazwie jak alias typu",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "Typ ograniczenia TypeVar nie może być ogólny",
|
||||
"typeVarDefaultBoundMismatch": "Domyślny typ TypeVar musi być podtypem powiązanego typu",
|
||||
"typeVarDefaultConstraintMismatch": "Typ domyślny TypeVar musi być jednym z typów z ograniczeniami",
|
||||
"typeVarDefaultIllegal": "Typy domyślne zmiennych typów wymagają wersji języka Python 3.13 lub nowszej",
|
||||
"typeVarDefaultIllegal": "Typy domyślne zmiennych typów wymagają wersji języka Viper 3.13 lub nowszej",
|
||||
"typeVarDefaultInvalidTypeVar": "Parametr typu „{name}” ma typ domyślny, który odnosi się do co najmniej jednej zmiennej typu, która jest poza zakresem",
|
||||
"typeVarFirstArg": "Oczekiwano nazwy TypeVar jako pierwszego argumentu",
|
||||
"typeVarInvalidForMemberVariable": "Typ atrybutu nie może używać zmiennej typu „{name}” w zakresie metody lokalnej",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Zmienne zdefiniowane w abstrakcyjnej klasie bazowej nie są inicjowane w klasie final „{classType}”",
|
||||
"uninitializedInstanceVariable": "Zmienna wystąpienia „{name}” nie została zainicjowana w treści klasy ani w metodzie __init__",
|
||||
"unionForwardReferenceNotAllowed": "Składnia elementu Union nie może być używana z operandem ciągu; użyj cudzysłowów wokół całego wyrażenia",
|
||||
"unionSyntaxIllegal": "Alternatywna składnia unii wymaga języka Python w wersji 3.10 lub nowszej",
|
||||
"unionSyntaxIllegal": "Alternatywna składnia unii wymaga języka Viper w wersji 3.10 lub nowszej",
|
||||
"unionTypeArgCount": "Element Union wymaga co najmniej dwóch argumentów typu",
|
||||
"unionUnpackedTuple": "Typ Union nie może zawierać niespakowanej kolekcji tuple",
|
||||
"unionUnpackedTypeVarTuple": "Typ Union nie może zawierać niespakowanego parametru TypeVarTuple",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Rozpakowywanie operatora jest niedozwolone w set",
|
||||
"unpackNotAllowed": "Element Unpack jest niedozwolony w tym kontekście",
|
||||
"unpackOperatorNotAllowed": "Operacja rozpakowywania jest niedozwolona w tym kontekście",
|
||||
"unpackTuplesIllegal": "Operacja rozpakowywania nie jest dozwolona w krotkach przed językiem Python w wersji 3.8",
|
||||
"unpackTuplesIllegal": "Operacja rozpakowywania nie jest dozwolona w krotkach przed językiem Viper w wersji 3.8",
|
||||
"unpackedArgInTypeArgument": "Nie można użyć nierozpakowanych argumentów w tym kontekście",
|
||||
"unpackedArgWithVariadicParam": "Nie można użyć nierozpakowanego argumentu dla parametru TypeVarTuple",
|
||||
"unpackedDictArgumentNotMapping": "Wyrażenie argumentu po znakach ** musi być mapowaniem z typem klucza „str”",
|
||||
"unpackedDictSubscriptIllegal": "Operator rozpakowywania słownika w indeksie dolnym jest niedozwolony",
|
||||
"unpackedSubscriptIllegal": "Operator rozpakowywania w indeksie dolnym wymaga języka Python w wersji 3.11 lub nowszej",
|
||||
"unpackedSubscriptIllegal": "Operator rozpakowywania w indeksie dolnym wymaga języka Viper w wersji 3.11 lub nowszej",
|
||||
"unpackedTypeVarTupleExpected": "Oczekiwano nierozpakowanego typu TypeVarTuple; użyj Unpack[{name1}] lub *{name2}",
|
||||
"unpackedTypedDictArgument": "Nie można dopasować nierozpakowanego argumentu TypedDict do parametrów",
|
||||
"unreachableCodeCondition": "Kod nie jest analizowany, ponieważ warunek jest statycznie oceniany jako fałsz",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Wynik wyrażenia wywołania jest typu „{type}” i nie jest używany; przypisz do zmiennej „_”, jeśli jest to zamierzone",
|
||||
"unusedCoroutine": "Wynik wywołania funkcji asynchronicznej nie jest używany; użyj wartości „await” lub przypisz wynik do zmiennej",
|
||||
"unusedExpression": "Wartość wyrażenia jest nieużywana",
|
||||
"varAnnotationIllegal": "Type annotations for variables requires Python 3.6 or newer; use type comment for compatibility with previous versions",
|
||||
"varAnnotationIllegal": "Type annotations for variables requires Viper 3.6 or newer; use type comment for compatibility with previous versions",
|
||||
"variableFinalOverride": "Zmienna „{name}” jest oznaczona jako Final i zastępuje zmienną inną non-Final o tej samej nazwie w klasie „{className}”",
|
||||
"variadicTypeArgsTooMany": "Lista argumentów typu może zawierać co najwyżej jeden nierozpakowany typ TypeVarTuple lub tuple",
|
||||
"variadicTypeParamTooManyAlias": "Alias typu może mieć co najwyżej jeden parametr typu TypeVarTuple, ale otrzymał wiele ({names})",
|
||||
"variadicTypeParamTooManyClass": "Klasa ogólna może mieć co najwyżej jeden parametr typu TypeVarTuple, ale otrzymał wiele ({names})",
|
||||
"walrusIllegal": "Operator „:=” wymaga języka Python w wersji 3.8 lub nowszej",
|
||||
"walrusIllegal": "Operator „:=” wymaga języka Viper w wersji 3.8 lub nowszej",
|
||||
"walrusNotAllowed": "Operator „:=” jest niedozwolony w tym kontekście bez otaczających nawiasów",
|
||||
"wildcardInFunction": "Wildcard import not allowed within a class or function",
|
||||
"wildcardLibraryImport": "Wildcard import from a library not allowed",
|
||||
"wildcardPatternTypePartiallyUnknown": "Typ przechwycony przez wzorzec symboli wieloznacznych jest częściowo nieznany",
|
||||
"wildcardPatternTypeUnknown": "Typ przechwycony przez wzorzec symboli wieloznacznych jest nieznany",
|
||||
"yieldFromIllegal": "Użycie wartości „yield from” wymaga języka Python w wersji 3.3 lub nowszej",
|
||||
"yieldFromIllegal": "Użycie wartości „yield from” wymaga języka Viper w wersji 3.3 lub nowszej",
|
||||
"yieldFromOutsideAsync": "Instrukcja „yield from” jest niedozwolona w funkcji asynchronicznej",
|
||||
"yieldOutsideFunction": "Instrukcja „yield” jest niedozwolona poza funkcją lub wyrażeniem lambda",
|
||||
"yieldWithinComprehension": "Instrukcja „yield” nie jest dozwolona w rozumieniu",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "Incompatibilidade \"assert_type\": esperava-se \"{expected}\", mas recebeu \"{received}\"",
|
||||
"assignmentExprComprehension": "O destino da expressão de atribuição \"{name}\" não pode usar o mesmo nome da compreensão para o destino",
|
||||
"assignmentExprContext": "A expressão de atribuição deve estar dentro de módulo, função ou lambda",
|
||||
"assignmentExprInSubscript": "Expressões de atribuição em um subscrito são compatíveis apenas no Python 3.10 e mais recente",
|
||||
"assignmentExprInSubscript": "Expressões de atribuição em um subscrito são compatíveis apenas no Viper 3.10 e mais recente",
|
||||
"assignmentInProtocol": "As variáveis de instância ou classe dentro de uma classe Protocol devem ser declaradas explicitamente dentro do corpo da classe",
|
||||
"assignmentTargetExpr": "A expressão não pode ser o destino de atribuição",
|
||||
"asyncNotInAsyncFunction": "Uso de \"async\" não permitido fora da função async",
|
||||
"awaitIllegal": "O uso de \"await\" requer o Python 3.5 ou mais recente",
|
||||
"awaitIllegal": "O uso de \"await\" requer o Viper 3.5 ou mais recente",
|
||||
"awaitNotAllowed": "Expressões de tipo não podem usar \"await\"",
|
||||
"awaitNotInAsync": "\"await\" permitido somente dentro da função async",
|
||||
"backticksIllegal": "Não há suporte para expressões delimitadas por backticks no Python 3.x. Use repr em vez disso",
|
||||
"backticksIllegal": "Não há suporte para expressões delimitadas por backticks no Viper 3.x. Use repr em vez disso",
|
||||
"baseClassCircular": "A classe não pode derivar de si mesma",
|
||||
"baseClassFinal": "A classe base \"{type}\" está marcada como final e não pode ser subclasse",
|
||||
"baseClassIncompatible": "Classes base de {type} são mutuamente incompatíveis",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "\"{type}\" não pode ser usado em um padrão de classe porque é definido usando NewType",
|
||||
"classPatternPositionalArgCount": "Muitos padrões posicionais para a classe \"{type}\"; esperado {expected} mas recebido {received}",
|
||||
"classPatternTypeAlias": "\"{type}\" não pode ser usado em um padrão de classe porque é um alias de tipo especializado",
|
||||
"classPropertyDeprecated": "As propriedades de classe foram preteridas no Python 3.11 e não terão suporte no Python 3.13",
|
||||
"classTypeParametersIllegal": "A sintaxe do parâmetro de tipo de classe requer o Python 3.12 ou mais recente",
|
||||
"classPropertyDeprecated": "As propriedades de classe foram preteridas no Viper 3.11 e não terão suporte no Viper 3.13",
|
||||
"classTypeParametersIllegal": "A sintaxe do parâmetro de tipo de classe requer o Viper 3.12 ou mais recente",
|
||||
"classVarFirstArgMissing": "Um argumento de tipo era esperado após \"ClassVar\"",
|
||||
"classVarNotAllowed": "\"ClassVar\" não é permitido neste contexto",
|
||||
"classVarOverridesInstanceVar": "A variável de classe \"{name}\" substitui a variável de instância do mesmo nome na classe \"{className}\"",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "O deleter da property \"{name}\" foi preterido",
|
||||
"deprecatedPropertyGetter": "O getter da property \"{name}\" foi preterido",
|
||||
"deprecatedPropertySetter": "O setter da property \"{name}\" está preterido",
|
||||
"deprecatedType": "Este tipo foi preterido no Python {version}. Use \"{replacement}\" em vez disso",
|
||||
"deprecatedType": "Este tipo foi preterido no Viper {version}. Use \"{replacement}\" em vez disso",
|
||||
"dictExpandIllegalInComprehension": "Expansão de dicionário não permitida na compreensão",
|
||||
"dictInAnnotation": "Expressão de dicionário não permitida na expressão de tipo",
|
||||
"dictKeyValuePairs": "Entradas de dicionário devem conter pares chave/valor",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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",
|
||||
"exceptRequiresParens": "Vários tipos de exceção devem estar entre parênteses antes do Python 3.14",
|
||||
"exceptRequiresParens": "Vários tipos de exceção devem estar entre parênteses antes do Viper 3.14",
|
||||
"exceptWithAsRequiresParens": "Vários tipos de exceção devem estar entre parênteses ao usar \"as\"",
|
||||
"exceptionGroupIncompatible": "A sintaxe do grupo de exceção (\"except*\") requer o Python 3.11 ou mais recente",
|
||||
"exceptionGroupIncompatible": "A sintaxe do grupo de exceção (\"except*\") requer o Viper 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",
|
||||
"exceptionTypeNotClass": "\"{type}\" não é uma classe de exceção válida",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" não foi fechado",
|
||||
"expectedColon": "Esperava-se \":\"",
|
||||
"expectedComplexNumberLiteral": "Literal de número complexo esperado para correspondência de padrões",
|
||||
"expectedDecoratorExpr": "Formulário de expressão sem suporte para decorador antes do Python 3.9",
|
||||
"expectedDecoratorExpr": "Formulário de expressão sem suporte para decorador antes do Viper 3.9",
|
||||
"expectedDecoratorName": "Nome do decorador esperado",
|
||||
"expectedDecoratorNewline": "Nova linha esperada no final do decorador",
|
||||
"expectedDelExpr": "Expressão esperada após \"del\"",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Um \"return\" não pode ser usado para sair de um bloco \"finally\"",
|
||||
"formatStringBrace": "Chave de fechamento única não permitida no literal de cadeia de caracteres f. Usar chave de fechamento dupla",
|
||||
"formatStringBytes": "Literais de cadeia de caracteres de formato (cadeia de caracteres f) não podem ser binárias",
|
||||
"formatStringDebuggingIllegal": "O especificador de depuração de cadeia de caracteres f \"=\" requer o Python 3.8 ou mais recente",
|
||||
"formatStringEscape": "Sequência de escape (barra invertida) não permitida na parte de expressão da cadeia de caracteres f em versões anteriores ao Python 3.12",
|
||||
"formatStringDebuggingIllegal": "O especificador de depuração de cadeia de caracteres f \"=\" requer o Viper 3.8 ou mais recente",
|
||||
"formatStringEscape": "Sequência de escape (barra invertida) não permitida na parte de expressão da cadeia de caracteres f em versões anteriores ao Viper 3.12",
|
||||
"formatStringExpectedConversion": "Esperava-se um especificador de conversão após \"!\" na cadeia de caracteres f",
|
||||
"formatStringIllegal": "Literais de cadeia de caracteres de formato (cadeias de caracteres f) exigem Python 3.6 ou mais recente",
|
||||
"formatStringIllegal": "Literais de cadeia de caracteres de formato (cadeias de caracteres f) exigem Viper 3.6 ou mais recente",
|
||||
"formatStringInPattern": "Cadeia de caracteres de formato não permitida no padrão",
|
||||
"formatStringNestedFormatSpecifier": "Expressões aninhadas muito profundamente dentro do especificador de cadeia de caracteres de formato",
|
||||
"formatStringNestedQuote": "Cadeias de caracteres aninhadas em uma cadeia de caracteres f não podem usar o mesmo caractere de aspas que a cadeia de caracteres f antes do Python 3.12",
|
||||
"formatStringNestedQuote": "Cadeias de caracteres aninhadas em uma cadeia de caracteres f não podem usar o mesmo caractere de aspas que a cadeia de caracteres f antes do Viper 3.12",
|
||||
"formatStringTemplate": "Literais de cadeia de caracteres de formato (cadeia de caracteres f) também não podem ser cadeias de caracteres de modelo (cadeia de caracteres t)",
|
||||
"formatStringUnicode": "As literais de cadeia de caracteres de formato (f-strings) não podem ser unicode",
|
||||
"formatStringUnterminated": "Expressão não finalizada na cadeia de caracteres f. \"}\" era esperado",
|
||||
"functionDecoratorTypeUnknown": "Um decorador de função sem tipo obscurece o tipo de função. Ignorando o decorador",
|
||||
"functionInConditionalExpression": "Função de referências de expressão condicional que sempre é avaliada como True",
|
||||
"functionTypeParametersIllegal": "A sintaxe do parâmetro de tipo de função requer o Python 3.12 ou mais recente",
|
||||
"functionTypeParametersIllegal": "A sintaxe do parâmetro de tipo de função requer o Viper 3.12 ou mais recente",
|
||||
"futureImportLocationNotAllowed": "As importações __future__ devem estar no início do arquivo",
|
||||
"generatorAsyncReturnType": "O tipo de retorno da função geradora async deve ser compatível com \"AsyncGenerator[{yieldType}, Any]\"",
|
||||
"generatorNotParenthesized": "As expressões de gerador devem estar entre parênteses se não forem argumentos exclusivos",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "\"Literal\" não pode ser usado nesse contexto sem um argumento de tipo",
|
||||
"literalNotCallable": "O tipo Literal não pode ser instanciado",
|
||||
"literalUnsupportedType": "Os argumentos de tipo para \"Literal\" devem ser None, um valor literal (int, bool, str ou bytes) ou um valor de enumeração",
|
||||
"matchIncompatible": "As match de correspondência exigem Python 3.10 ou mais recente",
|
||||
"matchIncompatible": "As match de correspondência exigem Viper 3.10 ou mais recente",
|
||||
"matchIsNotExhaustive": "Os casos dentro da instrução match não lidam exaustivamente com todos os valores",
|
||||
"maxParseDepthExceeded": "Profundidade máxima de análise excedida. Divida a expressão em subexpressões menores",
|
||||
"memberAccess": "Não é possível acessar o atributo \"{name}\" para a classe \"{type}\"",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "A declaração de parâmetro \"{name}\" é obscurecida por uma declaração de mesmo nome",
|
||||
"obscuredTypeAliasDeclaration": "A declaração de alias de tipo \"{name}\" é obscurecida por uma declaração de mesmo nome",
|
||||
"obscuredVariableDeclaration": "A declaração \"{name}\" é obscurecida por uma declaração de mesmo nome",
|
||||
"operatorLessOrGreaterDeprecated": "O operador \"<>\" não é compatível no Python 3. Use \"!=\" em vez disso",
|
||||
"operatorLessOrGreaterDeprecated": "O operador \"<>\" não é compatível no Viper 3. Use \"!=\" em vez disso",
|
||||
"optionalExtraArgs": "Espera-se um argumento de tipo após \"Optional\"",
|
||||
"orPatternIrrefutable": "Padrão irrefutável permitido somente como o último subpadrão em um padrão \"or\"",
|
||||
"orPatternMissingName": "Todos os subpadrões dentro de um padrão \"or\" devem ter como destino os mesmos nomes",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Variável de tipo covariante não pode ser usada no tipo de parâmetro",
|
||||
"paramTypePartiallyUnknown": "O tipo de parâmetro \"{paramName}\" é parcialmente desconhecido",
|
||||
"paramTypeUnknown": "O tipo de parâmetro \"{paramName}\" é desconhecido",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "O padrão nunca será correspondido para o tipo de assunto \"{type}\"",
|
||||
"positionArgAfterNamedArg": "O argumento posicional não pode aparecer após argumentos de palavra-chave",
|
||||
"positionArgAfterUnpackedDictArg": "O argumento posicional não pode aparecer após desempacotamento de argumento de palavra-chave",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "O parâmetro \"/\" deve aparecer antes do parâmetro \"*\"",
|
||||
"positionOnlyAfterNon": "Parâmetro somente de posição não permitido após o parâmetro que não é somente posição",
|
||||
"positionOnlyFirstParam": "Separador de parâmetro somente de posição não permitido como primeiro parâmetro",
|
||||
"positionOnlyIncompatible": "O separador de parâmetro somente de posição requer o Python 3.8 ou mais recente",
|
||||
"positionOnlyIncompatible": "O separador de parâmetro somente de posição requer o Viper 3.8 ou mais recente",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" não é exportado do módulo \"{module}\"",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" é privado e usado fora da classe na qual é declarado",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" é privado e usado fora do módulo no qual ele é declarado",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" está protegido e usado fora da classe na qual está declarado",
|
||||
"protocolBaseClass": "A classe \"{classType}\" Protocol não pode derivar da classe não Protocol \"{baseType}\"",
|
||||
"protocolBaseClassWithTypeArgs": "Argumentos de tipo não são permitidos com a classe Protocol ao usar a sintaxe de parâmetro de tipo",
|
||||
"protocolIllegal": "O uso de \"Protocol\" requer o Python 3.7 ou mais recente",
|
||||
"protocolIllegal": "O uso de \"Protocol\" requer o Viper 3.7 ou mais recente",
|
||||
"protocolNotAllowed": "\"Protocol\" não pode ser usado nesse contexto",
|
||||
"protocolTypeArgMustBeTypeParam": "O argumento de tipo para o \"Protocolo\" deve ser um parâmetro de tipo",
|
||||
"protocolUnsafeOverlap": "A classe se sobrepõe a \"{name}\" de forma não segura e pode produzir uma correspondência em runtime",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Literal de cadeia de caracteres não finalizado",
|
||||
"stubFileMissing": "Arquivo stub não encontrado para \"{importName}\"",
|
||||
"stubUsesGetAttr": "O arquivo stub de tipo está incompleto. \"__getattr__\" obscurece erros de tipo para o módulo",
|
||||
"sublistParamsIncompatible": "parâmetros de sublista não são suportados no Python 3.x",
|
||||
"sublistParamsIncompatible": "parâmetros de sublista não são suportados no Viper 3.x",
|
||||
"superCallArgCount": "Não mais que dois argumentos eram esperados para a chamada \"super\"",
|
||||
"superCallFirstArg": "Tipo de classe esperado como o primeiro argumento para a chamada \"super\", mas recebeu \"{type}\"",
|
||||
"superCallSecondArg": "O segundo argumento para a chamada \"super\" deve ser objeto ou classe que deriva de \"{type}\"",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" não está definido",
|
||||
"symbolOverridden": "\"{name}\" substitui o símbolo de mesmo nome na classe \"{className}\"",
|
||||
"templateStringBytes": "Literais de cadeia de caracteres de modelo (cadeias de caracteres t) não podem ser binários",
|
||||
"templateStringIllegal": "Literais de cadeia de caracteres de modelo (cadeias de caracteres t) exigem Python 3.14 ou mais recente",
|
||||
"templateStringIllegal": "Literais de cadeia de caracteres de modelo (cadeias de caracteres t) exigem Viper 3.14 ou mais recente",
|
||||
"templateStringUnicode": "Literais de cadeia de caracteres de modelo (cadeias de caracteres t) não podem ser unicode",
|
||||
"ternaryNotAllowed": "Expressão de ternário não permitida na expressão de tipo",
|
||||
"totalOrderingMissingMethod": "A classe deve definir um dos \"__lt__\", \"__le__\", \"__gt__\" ou \"__ge__\" para usar total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "Um TypeAlias só pode ser definido dentro de um módulo ou escopo de classe",
|
||||
"typeAliasRedeclared": "\"{name}\" é declarado como um TypeAlias e só pode ser atribuído uma vez",
|
||||
"typeAliasStatementBadScope": "Uma instrução type só pode ser usada dentro de um módulo ou escopo de classe",
|
||||
"typeAliasStatementIllegal": "A instrução de alias de tipo requer o Python 3.12 ou mais recente",
|
||||
"typeAliasStatementIllegal": "A instrução de alias de tipo requer o Viper 3.12 ou mais recente",
|
||||
"typeAliasTypeBadScope": "Um alias de tipo só pode ser definido dentro de um módulo ou escopo de classe",
|
||||
"typeAliasTypeBaseClass": "Um alias de tipo definido em uma instrução \"type\" não pode ser usado como uma classe base",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType deve ser atribuído a uma variável com o mesmo nome que o alias de tipo",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "O tipo de restrição TypeVar não pode ser genérico",
|
||||
"typeVarDefaultBoundMismatch": "O tipo padrão TypeVar deve ser um subtipo do tipo associado",
|
||||
"typeVarDefaultConstraintMismatch": "O tipo padrão TypeVar deve ser um dos tipos restritos",
|
||||
"typeVarDefaultIllegal": "Tipos padrão de variável de tipo exigem Python 3.13 ou mais recente",
|
||||
"typeVarDefaultIllegal": "Tipos padrão de variável de tipo exigem Viper 3.13 ou mais recente",
|
||||
"typeVarDefaultInvalidTypeVar": "O parâmetro de tipo \"{name}\" tem um tipo padrão que se refere a uma ou mais variáveis de tipo que estão fora do escopo",
|
||||
"typeVarFirstArg": "Nome esperado de TypeVar como primeiro argumento",
|
||||
"typeVarInvalidForMemberVariable": "O tipo de atributo não pode usar a variável de tipo \"{name}\" com escopo para o método local",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "As variáveis definidas na classe base abstrata não são inicializadas na classe final \"{classType}\"",
|
||||
"uninitializedInstanceVariable": "A variável de instância \"{name}\" não foi inicializada no corpo da classe ou no método __init__",
|
||||
"unionForwardReferenceNotAllowed": "A sintaxe de Union não pode ser usada com operando de cadeia de caracteres. Use aspas em toda a expressão",
|
||||
"unionSyntaxIllegal": "A sintaxe alternativa para uniões requer o Python 3.10 ou mais recente",
|
||||
"unionSyntaxIllegal": "A sintaxe alternativa para uniões requer o Viper 3.10 ou mais recente",
|
||||
"unionTypeArgCount": "A Union requer dois ou mais argumentos de tipo",
|
||||
"unionUnpackedTuple": "A Union não pode incluir uma tuple desempacotada",
|
||||
"unionUnpackedTypeVarTuple": "A Union não pode incluir um TypeVarTuple desempacotado",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Operador unpack não permitido em um set",
|
||||
"unpackNotAllowed": "Unpack não é permitido neste contexto",
|
||||
"unpackOperatorNotAllowed": "A operação de descompactação não é permitida neste contexto",
|
||||
"unpackTuplesIllegal": "Operação de desempacotamento não permitida em tuplas anteriores ao Python 3.8",
|
||||
"unpackTuplesIllegal": "Operação de desempacotamento não permitida em tuplas anteriores ao Viper 3.8",
|
||||
"unpackedArgInTypeArgument": "Os argumentos descompactados não podem ser usados nesse contexto",
|
||||
"unpackedArgWithVariadicParam": "O argumento desempacotado não pode ser usado para o parâmetro TypeVarTuple",
|
||||
"unpackedDictArgumentNotMapping": "A expressão de argumento após ** deve ser um mapeamento com um tipo de chave \"str\"",
|
||||
"unpackedDictSubscriptIllegal": "O operador de desempacotamento de dicionário no subscrito não é permitido",
|
||||
"unpackedSubscriptIllegal": "O operador Unpack no subscrito requer o Python 3.11 ou mais recente",
|
||||
"unpackedSubscriptIllegal": "O operador Unpack no subscrito requer o Viper 3.11 ou mais recente",
|
||||
"unpackedTypeVarTupleExpected": "Esperava-se TypeVarTuple desempacotada. Use Unpack[{name1}] ou *{name2}",
|
||||
"unpackedTypedDictArgument": "Não é possível corresponder o argumento TypedDict desempacotado aos parâmetros",
|
||||
"unreachableCodeCondition": "O código não é analisado porque a condição é avaliada estaticamente como falsa",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "O resultado da expressão de chamada é do tipo \"{type}\" e não é usado. Atribua à variável \"_\" se isso for intencional",
|
||||
"unusedCoroutine": "O resultado da chamada de função async não foi usado. Use \"await\" ou atribua o resultado à variável",
|
||||
"unusedExpression": "O valor da expressão não é usado",
|
||||
"varAnnotationIllegal": "As anotações de tipo para variáveis exigem Python 3.6 ou mais recente. Use comentário de type para compatibilidade com versões anteriores",
|
||||
"varAnnotationIllegal": "As anotações de tipo para variáveis exigem Viper 3.6 ou mais recente. Use comentário de type para compatibilidade com versões anteriores",
|
||||
"variableFinalOverride": "A variável \"{name}\" está marcada como Final e substitui a variável não Final de mesmo nome na classe \"{className}\"",
|
||||
"variadicTypeArgsTooMany": "A lista de argumentos de tipo pode ter no máximo um TypeVarTuple ou tuple descompactado",
|
||||
"variadicTypeParamTooManyAlias": "O alias de tipo pode ter no máximo um parâmetro de tipo TypeVarTuple, mas recebeu vários ({names})",
|
||||
"variadicTypeParamTooManyClass": "A classe genérica pode ter no máximo um parâmetro de tipo TypeVarTuple, mas recebeu vários ({names})",
|
||||
"walrusIllegal": "O operador \":=\" requer o Python 3.8 ou mais recente",
|
||||
"walrusIllegal": "O operador \":=\" requer o Viper 3.8 ou mais recente",
|
||||
"walrusNotAllowed": "Operador \":=\" não é permitido neste contexto sem parênteses",
|
||||
"wildcardInFunction": "Wildcard import not allowed within a class or function",
|
||||
"wildcardLibraryImport": "Wildcard import from a library not allowed",
|
||||
"wildcardPatternTypePartiallyUnknown": "O tipo capturado pelo padrão curinga é parcialmente desconhecido",
|
||||
"wildcardPatternTypeUnknown": "O tipo capturado pelo padrão curinga é desconhecido",
|
||||
"yieldFromIllegal": "O uso de \"yield from\" requer o Python 3.3 ou mais recente",
|
||||
"yieldFromIllegal": "O uso de \"yield from\" requer o Viper 3.3 ou mais recente",
|
||||
"yieldFromOutsideAsync": "\"yield from\" não é permitido em uma função async",
|
||||
"yieldOutsideFunction": "\"yield\" não permitido fora de uma função ou lambda",
|
||||
"yieldWithinComprehension": "\"yield\" não é permitido dentro de uma compreensão",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "Несоответствие типов \"assert_type\": ожидается \"{expected}\", но получено \"{received}\"",
|
||||
"assignmentExprComprehension": "Цель выражения назначения \"{name}\" не может использовать то же имя, что и понимание для целевого объекта",
|
||||
"assignmentExprContext": "Выражение присваивания должно находиться в модуле, функции или лямбде",
|
||||
"assignmentExprInSubscript": "Выражения назначения внутри оператора получения подстроки можно использовать в Python версии не ниже 3.10",
|
||||
"assignmentExprInSubscript": "Выражения назначения внутри оператора получения подстроки можно использовать в Viper версии не ниже 3.10",
|
||||
"assignmentInProtocol": "Переменные экземпляра или класса в классе Protocol должны быть явно объявлены в тексте класса",
|
||||
"assignmentTargetExpr": "Выражение не может быть целевым объектом присваивания",
|
||||
"asyncNotInAsyncFunction": "Использование \"async\" не разрешено вне async функции",
|
||||
"awaitIllegal": "Инструкцию \"await\" можно использовать в Python версии не ранее 3.5",
|
||||
"awaitIllegal": "Инструкцию \"await\" можно использовать в Viper версии не ранее 3.5",
|
||||
"awaitNotAllowed": "Выражения типа не могут использовать \"await\"",
|
||||
"awaitNotInAsync": "Ключевое слово \"await\" допускается только в async функции",
|
||||
"backticksIllegal": "Выражения, окруженные одиночными обратными кавычками, не поддерживаются в Python 3.x; используйте вместо этого функцию repr",
|
||||
"backticksIllegal": "Выражения, окруженные одиночными обратными кавычками, не поддерживаются в Viper 3.x; используйте вместо этого функцию repr",
|
||||
"baseClassCircular": "Класс не может быть производным от себя",
|
||||
"baseClassFinal": "Базовый класс \"{type}\" помечен как final, и от него нельзя создать производный класс",
|
||||
"baseClassIncompatible": "Базовые классы {type} взаимно несовместимы",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "Не удается использовать \"{type}\" в шаблоне класса, так как он определен с помощью NewType",
|
||||
"classPatternPositionalArgCount": "Слишком много позиционных шаблонов для класса \"{type}\"; ожидается {expected}, но получено {received}",
|
||||
"classPatternTypeAlias": "\"{type}\" нельзя использовать в шаблоне класса, поскольку это псевдоним специализированного типа",
|
||||
"classPropertyDeprecated": "Свойства класса упразднены в Python 3.11 и не будут поддерживаться в Python 3.13",
|
||||
"classTypeParametersIllegal": "Синтаксис параметра типа класса может использоваться в Python версии не ниже 3.12.",
|
||||
"classPropertyDeprecated": "Свойства класса упразднены в Viper 3.11 и не будут поддерживаться в Viper 3.13",
|
||||
"classTypeParametersIllegal": "Синтаксис параметра типа класса может использоваться в Viper версии не ниже 3.12.",
|
||||
"classVarFirstArgMissing": "Ожидается аргумент типа после \"ClassVar\"",
|
||||
"classVarNotAllowed": "Использование \"ClassVar\" в этом контексте не допускается",
|
||||
"classVarOverridesInstanceVar": "Переменная класса \"{name}\" переопределяет переменную экземпляра с тем же именем в классе \"{className}\"",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "Метод deleter для property \"{name}\" не рекомендуется",
|
||||
"deprecatedPropertyGetter": "Метод getter для property \"{name}\" не рекомендуется",
|
||||
"deprecatedPropertySetter": "Метод setter для property \"{name}\" не рекомендуется",
|
||||
"deprecatedType": "Этот тип больше не рекомендуется к использованию начиная с версии Python {version}; используйте вместо него \"{replacement}\"",
|
||||
"deprecatedType": "Этот тип больше не рекомендуется к использованию начиная с версии Viper {version}; используйте вместо него \"{replacement}\"",
|
||||
"dictExpandIllegalInComprehension": "Расширение словаря в понимании не допускается",
|
||||
"dictInAnnotation": "Словарное выражение не разрешено в выражении типа",
|
||||
"dictKeyValuePairs": "Записи словаря должны содержать пары \"ключ-значение\"",
|
||||
@@ -163,9 +163,9 @@
|
||||
"enumMemberTypeAnnotation": "Аннотации типов не разрешены для элементов enum",
|
||||
"exceptGroupMismatch": "Оператор Try не может одновременно включать \"except\" и \"except*\"",
|
||||
"exceptGroupRequiresType": "Для синтаксиса группы исключений (\"except*\") требуется тип исключения",
|
||||
"exceptRequiresParens": "Несколько типов исключений следует заключать в скобки до версии Python 3.14",
|
||||
"exceptRequiresParens": "Несколько типов исключений следует заключать в скобки до версии Viper 3.14",
|
||||
"exceptWithAsRequiresParens": "Несколько типов исключений следует заключать в скобки при использовании \"as\"",
|
||||
"exceptionGroupIncompatible": "Синтаксис группы исключений (\"except*\") можно использовать в Python версии не ранее 3.11",
|
||||
"exceptionGroupIncompatible": "Синтаксис группы исключений (\"except*\") можно использовать в Viper версии не ранее 3.11",
|
||||
"exceptionGroupTypeIncorrect": "Тип исключения в except* не может быть производным от BaseGroupException",
|
||||
"exceptionTypeIncorrect": "\"{type}\" не является производным от BaseException",
|
||||
"exceptionTypeNotClass": "\"{type}\" не является допустимым классом исключений",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "Для скобки \"(\" отсутствует закрывающая скобка",
|
||||
"expectedColon": "Ожидается \":\"",
|
||||
"expectedComplexNumberLiteral": "Для сопоставления шаблонов ожидается сложный числовой литерал",
|
||||
"expectedDecoratorExpr": "Форму выражения для декоратора можно использовать в Python версии не ниже 3.9",
|
||||
"expectedDecoratorExpr": "Форму выражения для декоратора можно использовать в Viper версии не ниже 3.9",
|
||||
"expectedDecoratorName": "Ожидается имя декоратора",
|
||||
"expectedDecoratorNewline": "В конце декоратора ожидается символ перехода на новую строку",
|
||||
"expectedDelExpr": "После \"del\" ожидается выражение",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Невозможно использовать \"return\" для выхода из блока \"finally\"",
|
||||
"formatStringBrace": "Одиночная закрывающая скобка не допускается в литерале f-строки. Используйте двойную закрывающую скобку",
|
||||
"formatStringBytes": "Строковые литералы формата (f-строки) не могут быть двоичными",
|
||||
"formatStringDebuggingIllegal": "Для описателя отладки F-строки \"=\" требуется версия Python 3.8 или более новая",
|
||||
"formatStringEscape": "Escape-последовательность (обратная косая черта) не разрешена в части выражения f-строки до версии Python 3.12",
|
||||
"formatStringDebuggingIllegal": "Для описателя отладки F-строки \"=\" требуется версия Viper 3.8 или более новая",
|
||||
"formatStringEscape": "Escape-последовательность (обратная косая черта) не разрешена в части выражения f-строки до версии Viper 3.12",
|
||||
"formatStringExpectedConversion": "После \"!\" в f-строке ожидался спецификатор преобразования",
|
||||
"formatStringIllegal": "Для строковых литералов формата (f-строки) требуется версия Python 3.6 или более новая",
|
||||
"formatStringIllegal": "Для строковых литералов формата (f-строки) требуется версия Viper 3.6 или более новая",
|
||||
"formatStringInPattern": "Строка формата не разрешена в шаблоне",
|
||||
"formatStringNestedFormatSpecifier": "В строке спецификации формата слишком высок уровень вложенности выражений",
|
||||
"formatStringNestedQuote": "Строки, вложенные в f-строку, не могут использовать тот же символ кавычка, что и f-строка до Python 3.12",
|
||||
"formatStringNestedQuote": "Строки, вложенные в f-строку, не могут использовать тот же символ кавычка, что и f-строка до Viper 3.12",
|
||||
"formatStringTemplate": "Форматные строковые литералы (f-строки) не могут одновременно быть шаблонными строками (t-строками)",
|
||||
"formatStringUnicode": "Строковые литералы формата (f-строки) не могут быть в кодировке Unicode",
|
||||
"formatStringUnterminated": "Незавершенное выражение в f-строке; ожидается \"}\"",
|
||||
"functionDecoratorTypeUnknown": "Нетипизированный декоратор функции скрывает тип функции; декоратор будет игнорирован",
|
||||
"functionInConditionalExpression": "Условное выражение ссылается на функцию, которая всегда возвращает значение True",
|
||||
"functionTypeParametersIllegal": "Для синтаксиса параметра типа функции требуется версия Python 3.12 или более новая",
|
||||
"functionTypeParametersIllegal": "Для синтаксиса параметра типа функции требуется версия Viper 3.12 или более новая",
|
||||
"futureImportLocationNotAllowed": "Операторы импорта из __future__ должны находиться в начале файла",
|
||||
"generatorAsyncReturnType": "Тип возвращаемого значения функции генератора async должен быть совместим с \"AsyncGenerator[{yieldType}, Any]\"",
|
||||
"generatorNotParenthesized": "Выражения генератора следует взять в скобки, если аргументов больше одного",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "Невозможно использовать \"Literal\" в этом контексте без аргумента типа",
|
||||
"literalNotCallable": "Не удается создать экземпляр типа Literal",
|
||||
"literalUnsupportedType": "Аргументы типа для \"Literal\" должны иметь значение None, литеральное значение (int, bool, str или bytes) или значение enum типа",
|
||||
"matchIncompatible": "Операторы Match могут использоваться в Python версии не ниже 3.10",
|
||||
"matchIncompatible": "Операторы Match могут использоваться в Viper версии не ниже 3.10",
|
||||
"matchIsNotExhaustive": "Блоки case в операторе match обрабатывают не все множество возможных значений",
|
||||
"maxParseDepthExceeded": "Превышена максимальная глубина разбора; разбейте выражение на составляющие выражения меньшего размера",
|
||||
"memberAccess": "Не удается получить доступ к атрибуту \"{name}\" для класса \"{type}\"",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "Объявление параметра \"{name}\" скрывается объявлением с тем же именем",
|
||||
"obscuredTypeAliasDeclaration": "Объявление псевдонима типа \"{name}\" скрывается объявлением с тем же именем",
|
||||
"obscuredVariableDeclaration": "Объявление \"{name}\" скрывается объявлением с тем же именем",
|
||||
"operatorLessOrGreaterDeprecated": "Оператор \"<>\" не поддерживается в Python 3; используйте вместо него \"!=\"",
|
||||
"operatorLessOrGreaterDeprecated": "Оператор \"<>\" не поддерживается в Viper 3; используйте вместо него \"!=\"",
|
||||
"optionalExtraArgs": "Ожидается один аргумент типа после \"Optional\"",
|
||||
"orPatternIrrefutable": "Неопровержимый шаблон допускается только в качестве последнего вложенного шаблона в шаблоне \"or\"",
|
||||
"orPatternMissingName": "Все вложенные шаблоны в шаблоне \"or\" должны быть привязаны к одним и тем же именам",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Переменную ковариантного типа нельзя использовать в типе параметра",
|
||||
"paramTypePartiallyUnknown": "Тип параметра \"{paramName}\" частично неизвестен",
|
||||
"paramTypeUnknown": "Тип параметра \"{paramName}\" неизвестен",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Шаблон никогда не будет совпадать для типа субъекта \"{type}\"",
|
||||
"positionArgAfterNamedArg": "Позиционный аргумент не может стоять после аргументов типа \"ключевое слово\"",
|
||||
"positionArgAfterUnpackedDictArg": "Позиционный аргумент не может стоять после распаковки аргумента ключевого слова",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "Параметр \"/\" должен располагаться перед параметром \"*\"",
|
||||
"positionOnlyAfterNon": "Чисто позиционный параметр не разрешен после параметра, который не является чисто позиционным",
|
||||
"positionOnlyFirstParam": "Разделитель чисто позиционных параметров в качестве первого параметра не разрешен",
|
||||
"positionOnlyIncompatible": "Разделитель чисто позиционных параметров можно использовать в Python версии не ниже 3.8",
|
||||
"positionOnlyIncompatible": "Разделитель чисто позиционных параметров можно использовать в Viper версии не ниже 3.8",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" не экспортируется из модуля \"{module}\"",
|
||||
"privateUsedOutsideOfClass": "Элемент \"{name}\" является закрытым, но используется вне класса, в котором объявлен",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" является закрытым, но используется вне модуля, в котором объявлен",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" защищено и используется вне класса, в котором оно объявлено",
|
||||
"protocolBaseClass": "Класс Protocol \"{classType}\" не может быть производным от класса \"{baseType}\", отличного от Protocol",
|
||||
"protocolBaseClassWithTypeArgs": "Аргументы типа не допускаются с классом Protocol при использовании синтаксиса параметра типа",
|
||||
"protocolIllegal": "Ключевое слово \"Protocol\" можно использовать в Python версии не ниже 3.7",
|
||||
"protocolIllegal": "Ключевое слово \"Protocol\" можно использовать в Viper версии не ниже 3.7",
|
||||
"protocolNotAllowed": "Невозможно использовать \"Protocol\" в этом контексте",
|
||||
"protocolTypeArgMustBeTypeParam": "Аргумент типа для параметра \"Protocol\" должен быть параметром типа",
|
||||
"protocolUnsafeOverlap": "Класс небезопасно перекрывает \"{name}\" и может вызвать совпадение во время выполнения",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "В строковом литерале отсутствует символ конца строки",
|
||||
"stubFileMissing": "Файл stub для \"{importName}\" не найден",
|
||||
"stubUsesGetAttr": "Файл stub типа неполон; \"__getattr__\" скрывает ошибки типа для модуля",
|
||||
"sublistParamsIncompatible": "Параметры sublist списка не поддерживаются в Python 3.x",
|
||||
"sublistParamsIncompatible": "Параметры sublist списка не поддерживаются в Viper 3.x",
|
||||
"superCallArgCount": "Ожидается не более двух аргументов для вызова \"super\"",
|
||||
"superCallFirstArg": "В качестве первого аргумента для вызова \"super\" ожидался тип класса, но получен \"{type}\"",
|
||||
"superCallSecondArg": "Второй аргумент для вызова \"super\" должен быть объектом или классом, производным от \"{type}\"",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" не определено",
|
||||
"symbolOverridden": "\"{name}\" переопределяет символ с тем же именем в классе \"{className}\"",
|
||||
"templateStringBytes": "Шаблонные строковые литералы (t-строки) не могут быть двоичными",
|
||||
"templateStringIllegal": "Шаблонные строковые литералы (t-строки) требуют Python 3.14 или более новой версии",
|
||||
"templateStringIllegal": "Шаблонные строковые литералы (t-строки) требуют Viper 3.14 или более новой версии",
|
||||
"templateStringUnicode": "Шаблонные строковые литералы (t-строки) не могут быть в формате Юникод",
|
||||
"ternaryNotAllowed": "Тернарное выражение не разрешено в выражении типа",
|
||||
"totalOrderingMissingMethod": "Чтобы можно было использовать total_ordering, в классе должен быть определен один из операторов: \"__lt__\", \"__le__\", \"__gt__\" или \"__ge__\"",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias можно определить только внутри области модуля или класса",
|
||||
"typeAliasRedeclared": "\"{name}\" объявлен как TypeAlias и может быть присвоен только один раз",
|
||||
"typeAliasStatementBadScope": "Утверждение type можно использовать только внутри области модуля или класса",
|
||||
"typeAliasStatementIllegal": "Оператор псевдонима типа можно использовать в Python версии не ниже 3.12",
|
||||
"typeAliasStatementIllegal": "Оператор псевдонима типа можно использовать в Viper версии не ниже 3.12",
|
||||
"typeAliasTypeBadScope": "Псевдоним типа можно определить только внутри области модуля или класса",
|
||||
"typeAliasTypeBaseClass": "Псевдоним типа, определяемый в операторе \"type\", не может использоваться в качестве базового класса.",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType должен быть назначен переменной с тем же именем, что и псевдоним типа",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "Тип ограничения TypeVar не может быть универсальным",
|
||||
"typeVarDefaultBoundMismatch": "Тип по умолчанию TypeVar должен быть подтипом привязанного типа",
|
||||
"typeVarDefaultConstraintMismatch": "Тип по умолчанию TypeVar должен быть одним из ограниченных типов",
|
||||
"typeVarDefaultIllegal": "Для типов переменных по умолчанию требуется версия Python 3.13 или более новая",
|
||||
"typeVarDefaultIllegal": "Для типов переменных по умолчанию требуется версия Viper 3.13 или более новая",
|
||||
"typeVarDefaultInvalidTypeVar": "Параметр типа \"{name}\" имеет тип по умолчанию, который ссылается на одну или несколько переменных типа, находящихся вне области",
|
||||
"typeVarFirstArg": "В качестве первого аргумента ожидалось имя TypeVar",
|
||||
"typeVarInvalidForMemberVariable": "Тип атрибута не может использовать переменную \"{name}\" в локальном методе",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Переменные, определенные в абстрактном базовом классе, не инициализированы в final классе \"{classType}\"",
|
||||
"uninitializedInstanceVariable": "Переменная экземпляра \"{name}\" не инициализирована ни в тексте класса, ни в методе __init__",
|
||||
"unionForwardReferenceNotAllowed": "Синтаксис Union не может использоваться со строковым операндом; заключите всё выражение в кавычки",
|
||||
"unionSyntaxIllegal": "Альтернативный синтаксис объединений можно использовать в версии Python не ниже 3.10",
|
||||
"unionSyntaxIllegal": "Альтернативный синтаксис объединений можно использовать в версии Viper не ниже 3.10",
|
||||
"unionTypeArgCount": "Для Union требуется два или более аргумента типа",
|
||||
"unionUnpackedTuple": "Union не может включать распакованный tuple",
|
||||
"unionUnpackedTypeVarTuple": "Union не может включать распакованный TypeVarTuple",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Оператор распаковки не разрешен в set",
|
||||
"unpackNotAllowed": "Unpack допускается в этом контексте",
|
||||
"unpackOperatorNotAllowed": "Операция распаковки допускается в этом контексте",
|
||||
"unpackTuplesIllegal": "Операцию распаковки в кортежах можно использовать в Python версии не ниже 3.8",
|
||||
"unpackTuplesIllegal": "Операцию распаковки в кортежах можно использовать в Viper версии не ниже 3.8",
|
||||
"unpackedArgInTypeArgument": "В этом контексте нельзя использовать распакованные аргументы",
|
||||
"unpackedArgWithVariadicParam": "Невозможно использовать распакованный аргумент для параметра TypeVarTuple",
|
||||
"unpackedDictArgumentNotMapping": "Выражение аргумента после ** должно быть сопоставлением с типом ключа \"str\".",
|
||||
"unpackedDictSubscriptIllegal": "Оператор распаковки словаря не допускается внутри операции взятия подстроки",
|
||||
"unpackedSubscriptIllegal": "Оператор распаковки в операции взятия подстроки можно использовать в Python версии не ниже 3.11",
|
||||
"unpackedSubscriptIllegal": "Оператор распаковки в операции взятия подстроки можно использовать в Viper версии не ниже 3.11",
|
||||
"unpackedTypeVarTupleExpected": "Ожидается распакованный TypeVarTuple; используйте Unpack[{name1}] или *{name2}",
|
||||
"unpackedTypedDictArgument": "Не удалось сопоставить распакованный аргумент TypedDict с параметрами",
|
||||
"unreachableCodeCondition": "Анализ кода не выполняется, так как условие статически оценивается как ЛОЖЬ",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Результат выражения вызова принадлежит к типу \"{type}\" и не используется. Назначьте переменной \"_\", если это сделано намеренно",
|
||||
"unusedCoroutine": "Результат вызова async функции не используется; добавьте ключевое слово \"await\" или присвойте результат переменной",
|
||||
"unusedExpression": "Значение выражения не используется",
|
||||
"varAnnotationIllegal": "Заметки type для переменных можно использовать в Python версии не ниже 3.6. Для совместимости с более ранними версиями используйте комментарий к типу.",
|
||||
"varAnnotationIllegal": "Заметки type для переменных можно использовать в Viper версии не ниже 3.6. Для совместимости с более ранними версиями используйте комментарий к типу.",
|
||||
"variableFinalOverride": "Переменная \"{name}\" помечена как Final и переопределяет non-Final переменную с тем же именем в классе \"{className}\"",
|
||||
"variadicTypeArgsTooMany": "Список аргументов типа может содержать не более одного распакованного элемента TypeVarTuple или tuple",
|
||||
"variadicTypeParamTooManyAlias": "Псевдоним типа может иметь не более одного параметра типа TypeVarTuple, но получил несколько ({names})",
|
||||
"variadicTypeParamTooManyClass": "Универсальный класс может иметь не более одного параметра типа TypeVarTuple, но получил несколько ({names})",
|
||||
"walrusIllegal": "Оператор \":=\" может использоваться в Python версии не ниже 3.8",
|
||||
"walrusIllegal": "Оператор \":=\" может использоваться в Viper версии не ниже 3.8",
|
||||
"walrusNotAllowed": "Оператор \":=\" не допускается в этом контексте без окружающих круглых скобок",
|
||||
"wildcardInFunction": "import с подстановочными знаками в классе или функции запрещен",
|
||||
"wildcardLibraryImport": "import подстановочных знаков из библиотеки запрещен",
|
||||
"wildcardPatternTypePartiallyUnknown": "Тип, захваченный шаблоном подстановки, частично неизвестен",
|
||||
"wildcardPatternTypeUnknown": "Тип, захваченный шаблоном подстановки, неизвестен",
|
||||
"yieldFromIllegal": "\"yield from\" можно использовать в Python версии не ниже 3.3",
|
||||
"yieldFromIllegal": "\"yield from\" можно использовать в Viper версии не ниже 3.3",
|
||||
"yieldFromOutsideAsync": "\"yield from\" не допускается в async функции",
|
||||
"yieldOutsideFunction": "\"yield\" не допускается за пределами функции или лямбда-выражении",
|
||||
"yieldWithinComprehension": "\"yield\" не допускается внутри понимания",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "\"assert_type\" uyuşmuyor; \"{expected}\" bekleniyordu ancak \"{received}\" alındı",
|
||||
"assignmentExprComprehension": "\"{name}\" atama ifadesi hedefi, hedef için anlama ile aynı adı kullanamaz",
|
||||
"assignmentExprContext": "Atama ifadesi modül, işlev veya lambda içinde olmalıdır",
|
||||
"assignmentExprInSubscript": "Bir alt simge içindeki atama ifadeleri yalnızca Python 3.10 ve daha yeni sürümlerinde desteklenir",
|
||||
"assignmentExprInSubscript": "Bir alt simge içindeki atama ifadeleri yalnızca Viper 3.10 ve daha yeni sürümlerinde desteklenir",
|
||||
"assignmentInProtocol": "Instance or class variables within a Protocol class must be explicitly declared within the class body",
|
||||
"assignmentTargetExpr": "İfade, atama hedefi olamaz",
|
||||
"asyncNotInAsyncFunction": "Use of \"async\" not allowed outside of async function",
|
||||
"awaitIllegal": "\"await\" kullanımı için Python 3.5 veya daha yeni bir sürümü gerekiyor",
|
||||
"awaitIllegal": "\"await\" kullanımı için Viper 3.5 veya daha yeni bir sürümü gerekiyor",
|
||||
"awaitNotAllowed": "Tür ifadeleri \"await\" kullanamaz",
|
||||
"awaitNotInAsync": "\"await\" allowed only within async function",
|
||||
"backticksIllegal": "Eski kesme işaretleri arasında yer almayan ifadeler Python3.x’de desteklenmiyor; bunun yerine repr kullanın",
|
||||
"backticksIllegal": "Eski kesme işaretleri arasında yer almayan ifadeler Viper3.x’de desteklenmiyor; bunun yerine repr kullanın",
|
||||
"baseClassCircular": "Sınıf kendi türevi olamaz",
|
||||
"baseClassFinal": "\"{type}\" temel sınıfı final olarak işaretlendi ve alt sınıf olamaz",
|
||||
"baseClassIncompatible": "{type} türündeki temel sınıflar karşılıklı olarak uyumsuzdur",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "\"{type}\", NewType kullanılarak tanımlandığı için sınıf desenlerinde kullanılamaz",
|
||||
"classPatternPositionalArgCount": "\"{type}\" sınıfı için çok fazla konumsal desen var; {expected} bekleniyordu ancak {received} alındı",
|
||||
"classPatternTypeAlias": "\"{type}\" özel bir tür diğer adı olduğundan sınıf deseninde kullanılamaz",
|
||||
"classPropertyDeprecated": "Sınıf özellikleri Python 3.11'de kullanım dışıdır ve Python 3.13'te desteklenmez",
|
||||
"classTypeParametersIllegal": "Sınıf türü parametresi söz dizimi için Python 3.12 veya daha yeni bir sürümü gerekiyor",
|
||||
"classPropertyDeprecated": "Sınıf özellikleri Viper 3.11'de kullanım dışıdır ve Viper 3.13'te desteklenmez",
|
||||
"classTypeParametersIllegal": "Sınıf türü parametresi söz dizimi için Viper 3.12 veya daha yeni bir sürümü gerekiyor",
|
||||
"classVarFirstArgMissing": "\"ClassVar\" sonrasında tür bağımsız değişkeni bekleniyordu",
|
||||
"classVarNotAllowed": "Bu bağlamda \"ClassVar\" kullanımına izin verilmiyor",
|
||||
"classVarOverridesInstanceVar": "\"{name}\" sınıf değişkeni \"{className}\" sınıfındaki aynı ada sahip örnek değişkenini geçersiz kılıyor",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "\"{name}\" property deleter kullanım dışı",
|
||||
"deprecatedPropertyGetter": "\"{name}\" property getter kullanım dışı",
|
||||
"deprecatedPropertySetter": "\"{name}\" property setter kullanım dışı",
|
||||
"deprecatedType": "Bu tür Python {version} sürümünden itibaren kullanım dışı; bunun yerine \"{replacement}\" kullanın",
|
||||
"deprecatedType": "Bu tür Viper {version} sürümünden itibaren kullanım dışı; bunun yerine \"{replacement}\" kullanın",
|
||||
"dictExpandIllegalInComprehension": "Sözlük genişletmeye anlamada izin verilmiyor",
|
||||
"dictInAnnotation": "Tür ifadesinde sözlük ifadesi kullanılamaz",
|
||||
"dictKeyValuePairs": "Sözlük girdileri anahtar/değer çiftleri içermelidir",
|
||||
@@ -163,9 +163,9 @@
|
||||
"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",
|
||||
"exceptRequiresParens": "Python 3.14'ten önce birden çok özel durum türü parantez içine alınmalıdır",
|
||||
"exceptRequiresParens": "Viper 3.14'ten önce birden çok özel durum türü parantez içine alınmalıdır",
|
||||
"exceptWithAsRequiresParens": "\"as\" kullanılırken birden çok özel durum türü parantez içine alınmalıdır",
|
||||
"exceptionGroupIncompatible": "Özel durum grubu söz dizimi (\"except*\") için Python 3.11 veya daha yeni bir sürümü gerekiyor",
|
||||
"exceptionGroupIncompatible": "Özel durum grubu söz dizimi (\"except*\") için Viper 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",
|
||||
"exceptionTypeNotClass": "\"{type}\" geçerli bir özel durum sınıfı değil",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" kapatılmadı",
|
||||
"expectedColon": "\":\" bekleniyordu",
|
||||
"expectedComplexNumberLiteral": "Desen eşleme için karmaşık sayı sabit değeri bekleniyordu",
|
||||
"expectedDecoratorExpr": "İfade formu Python 3.9'dan önceki dekoratör için desteklenmiyor",
|
||||
"expectedDecoratorExpr": "İfade formu Viper 3.9'dan önceki dekoratör için desteklenmiyor",
|
||||
"expectedDecoratorName": "Dekoratör adı bekleniyordu",
|
||||
"expectedDecoratorNewline": "Dekoratör sonunda yeni satır bekleniyordu",
|
||||
"expectedDelExpr": "\"del\" sonrasında ifade bekleniyordu",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "Bir \"return\" ifadesi \"finally\" bloğundan çıkmak için kullanılamaz",
|
||||
"formatStringBrace": "f dizesi sabit değerinde tek bir kapatma küme ayracı kullanılamaz; çift sağ ayraç kullanın",
|
||||
"formatStringBytes": "Biçim dizesi sabit değerleri (f-strings) ikili olamaz",
|
||||
"formatStringDebuggingIllegal": "F dizesi hata ayıklama belirticisi \"=\", Python 3.8 veya daha yeni bir sürüm gerektirir",
|
||||
"formatStringEscape": "Python 3.12 öncesinde f dizesinin ifade bölümünde kaçış sırasına (ters eğik çizgi) izin verilmez",
|
||||
"formatStringDebuggingIllegal": "F dizesi hata ayıklama belirticisi \"=\", Viper 3.8 veya daha yeni bir sürüm gerektirir",
|
||||
"formatStringEscape": "Viper 3.12 öncesinde f dizesinin ifade bölümünde kaçış sırasına (ters eğik çizgi) izin verilmez",
|
||||
"formatStringExpectedConversion": "f-string'de \"!\" öğesinden sonra bir dönüştürme tanımlayıcısı bekleniyordu",
|
||||
"formatStringIllegal": "Biçim dizesi sabit değerleri (f dizeleri) Python 3.6 veya daha yeni bir sürüm gerektirir",
|
||||
"formatStringIllegal": "Biçim dizesi sabit değerleri (f dizeleri) Viper 3.6 veya daha yeni bir sürüm gerektirir",
|
||||
"formatStringInPattern": "Desende biçim dizesine izin verilmiyor",
|
||||
"formatStringNestedFormatSpecifier": "İfadeler biçim dizesi belirticisi içinde çok derin iç içe geçmiş",
|
||||
"formatStringNestedQuote": "F dizesi içinde iç içe geçmiş dizeler Python 3.12'den önceki f dizesiyle aynı tırnak karakterini kullanamaz",
|
||||
"formatStringNestedQuote": "F dizesi içinde iç içe geçmiş dizeler Viper 3.12'den önceki f dizesiyle aynı tırnak karakterini kullanamaz",
|
||||
"formatStringTemplate": "Biçim dizesi sabit değerleri (f-string) aynı zamanda şablon dizeleri (t-string) olamaz",
|
||||
"formatStringUnicode": "Biçim dizesi sabit değerleri (f-strings) unicode olamaz",
|
||||
"formatStringUnterminated": "F dizesi içinde sonlandırılmamış ifade; \"}\" bekleniyor",
|
||||
"functionDecoratorTypeUnknown": "Türü belirsiz işlev dekoratörü işlevin türünü gizler; dekoratör yoksayılıyor",
|
||||
"functionInConditionalExpression": "Koşullu ifade, her zaman True olarak değerlendirilen işleve başvurur",
|
||||
"functionTypeParametersIllegal": "İşlev türü parametre sözdizimi Python 3.12 veya daha yeni bir sürüm gerektirir",
|
||||
"functionTypeParametersIllegal": "İşlev türü parametre sözdizimi Viper 3.12 veya daha yeni bir sürüm gerektirir",
|
||||
"futureImportLocationNotAllowed": "__future__ içeri aktarmaları dosyanın başında olmalıdır",
|
||||
"generatorAsyncReturnType": "Return type of async generator function must be compatible with \"AsyncGenerator[{yieldType}, Any]\"",
|
||||
"generatorNotParenthesized": "Tek bağımsız değişken olmadıklarında oluşturucu ifadeleri ayraç içine alınmalıdır",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "\"Literal\" bir tür bağımsız değişken olmadan bu bağlamda kullanılamaz",
|
||||
"literalNotCallable": "Literal type cannot be instantiated",
|
||||
"literalUnsupportedType": "Type arguments for \"Literal\" must be None, a literal value (int, bool, str, or bytes), or an enum value",
|
||||
"matchIncompatible": "Match statements require Python 3.10 or newer",
|
||||
"matchIncompatible": "Match statements require Viper 3.10 or newer",
|
||||
"matchIsNotExhaustive": "Cases within match statement do not exhaustively handle all values",
|
||||
"maxParseDepthExceeded": "Maksimum ayrıştırma derinliği aşıldı; ifadeyi daha küçük alt ifadelere bölün",
|
||||
"memberAccess": "Sınıf \"{type}\" için \"{name}\" özniteliğine erişilemiyor",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "\"{name}\" parametre bildirimi aynı ada sahip bir bildirim tarafından gizlendi",
|
||||
"obscuredTypeAliasDeclaration": "\"{name}\" tür diğer ad bildirimi aynı ada sahip bir bildirim tarafından etkisiz kılındı",
|
||||
"obscuredVariableDeclaration": "\"{name}\" bildirimi aynı ada sahip bir bildirim tarafından gizlendi",
|
||||
"operatorLessOrGreaterDeprecated": "\"<>\" işleci Python 3'de desteklenmiyor; bunun yerine \"!=\" kullanın",
|
||||
"operatorLessOrGreaterDeprecated": "\"<>\" işleci Viper 3'de desteklenmiyor; bunun yerine \"!=\" kullanın",
|
||||
"optionalExtraArgs": "Expected one type argument after \"Optional\"",
|
||||
"orPatternIrrefutable": "Reddedilemez desene yalnızca \"or\" deseninde son alt desen olarak izin verilir",
|
||||
"orPatternMissingName": "Bir \"or\" deseni içindeki tüm alt desenlerde aynı adlar hedeflenmeli",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "Kovaryant türü değişkeni parametre türünde kullanılamaz",
|
||||
"paramTypePartiallyUnknown": "\"{paramName}\" parametresinin türü kısmen bilinmiyor",
|
||||
"paramTypeUnknown": "\"{paramName}\" parametresinin türü bilinmiyor",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "Desen, \"{type}\" konu türü ile hiçbir zaman eşleşmez",
|
||||
"positionArgAfterNamedArg": "Konumsal bağımsız değişken anahtar sözcük bağımsız değişkenlerden sonra gelemez",
|
||||
"positionArgAfterUnpackedDictArg": "Konumsal bağımsız değişken, anahtar sözcük bağımsız değişkenler paketinden çıkarıldıktan sonra görünemez",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "\"/\" parametresi \"*\" parametresinden önce gelmelidir",
|
||||
"positionOnlyAfterNon": "Yalnızca konum parametresi olmayan parametreden sonra yalnızca konum parametresine izin verilmez",
|
||||
"positionOnlyFirstParam": "Yalnızca konum parametre ayırıcısı ilk parametre olarak kullanılamaz",
|
||||
"positionOnlyIncompatible": "Yalnızca konum parametre ayırıcısı için Python 3.8 veya daha yeni bir sürümü gerekiyor",
|
||||
"positionOnlyIncompatible": "Yalnızca konum parametre ayırıcısı için Viper 3.8 veya daha yeni bir sürümü gerekiyor",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" \"{module}\" modülünden dışarı aktarılamadı",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" özeldir ve bildirildiği sınıfın dışında kullanılır",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" özeldir ve bildirildiği modülün dışında kullanılır",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" korumalıdır ve içinde bildirildiği sınıfın dışında kullanılır",
|
||||
"protocolBaseClass": "\"{classType}\" Protocol sınıfı, Protocol olmayan \"{baseType}\" sınıfının türevi olamaz",
|
||||
"protocolBaseClassWithTypeArgs": "Type arguments are not allowed with Protocol class when using type parameter syntax",
|
||||
"protocolIllegal": "\"Protocol\" kullanımı için Python 3.7 veya daha yeni bir sürümü gerekiyor",
|
||||
"protocolIllegal": "\"Protocol\" kullanımı için Viper 3.7 veya daha yeni bir sürümü gerekiyor",
|
||||
"protocolNotAllowed": "\"Protocol\" bu bağlamda kullanılamaz",
|
||||
"protocolTypeArgMustBeTypeParam": "“Protocol” için tür bağımsız değişkeni bir tür parametresi olmalıdır",
|
||||
"protocolUnsafeOverlap": "Sınıf, \"{name}\" ile güvenli olmayan bir şekilde çakışıyor ve çalışma zamanında bir eşleşme üretebilir",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "Sabit değerli dize sonlandırılmamış",
|
||||
"stubFileMissing": "Stub file not found for \"{importName}\"",
|
||||
"stubUsesGetAttr": "Type stub file is incomplete; \"__getattr__\" obscures type errors for module",
|
||||
"sublistParamsIncompatible": "Sublist parameters are not supported in Python 3.x",
|
||||
"sublistParamsIncompatible": "Sublist parameters are not supported in Viper 3.x",
|
||||
"superCallArgCount": "\"super\" çağrısı için ikiden fazla bağımsız değişken beklenmiyordu",
|
||||
"superCallFirstArg": "\"super\" çağrısının ilk bağımsız değişkeni olarak sınıf türü bekleniyordu ancak \"{type}\" alındı",
|
||||
"superCallSecondArg": "\"super\" çağrısının ikinci bağımsız değişkeni, \"{type}\" türünden türetilen nesne veya sınıf olmalıdır",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" tanımlanmadı",
|
||||
"symbolOverridden": "\"{name}\", \"{className}\" sınıfında aynı ada sahip sembolü geçersiz kılar",
|
||||
"templateStringBytes": "Şablon dizesi sabit değerleri (t-string) ikili olamaz",
|
||||
"templateStringIllegal": "Şablon dizesi sabit değerleri (t-string) Python 3.14 veya daha yeni bir sürüm gerektirir",
|
||||
"templateStringIllegal": "Şablon dizesi sabit değerleri (t-string) Viper 3.14 veya daha yeni bir sürüm gerektirir",
|
||||
"templateStringUnicode": "Şablon dizesi sabit değerleri (t-string) unicode olamaz",
|
||||
"ternaryNotAllowed": "Tür ifadesinde üçlü ifade kullanılamaz",
|
||||
"totalOrderingMissingMethod": "total_ordering kullanmak için sınıfta \"__lt__\", \"__le__\", \"__gt__\" veya \"__ge__\" metotlarından biri tanımlanmalıdır",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias yalnızca bir modül veya sınıf kapsamında tanımlanabilir",
|
||||
"typeAliasRedeclared": "\"{name}\" bir TypeAlias olarak bildirilmiş ve yalnızca bir kez atanabilir",
|
||||
"typeAliasStatementBadScope": "A type statement can be used only within a module or class scope",
|
||||
"typeAliasStatementIllegal": "Tür diğer adı deyimi için Python 3.12 veya daha yeni bir sürümü gerekiyor",
|
||||
"typeAliasStatementIllegal": "Tür diğer adı deyimi için Viper 3.12 veya daha yeni bir sürümü gerekiyor",
|
||||
"typeAliasTypeBadScope": "Tür diğer adı yalnızca bir modül veya sınıf kapsamında tanımlanabilir",
|
||||
"typeAliasTypeBaseClass": "Bir \"type\" deyiminde tanımlanan type diğer adı temel sınıf olarak kullanılamaz",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType, tür diğer adıyla aynı ada sahip bir değişkene atanmalıdır",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "TypeVar kısıtlama türü genel olamaz",
|
||||
"typeVarDefaultBoundMismatch": "TypeVar varsayılan türü, bağlı türün bir alt türü olmalıdır",
|
||||
"typeVarDefaultConstraintMismatch": "TypeVar varsayılan türü kısıtlanmış türlerden biri olmalıdır",
|
||||
"typeVarDefaultIllegal": "Tür değişkeni varsayılan türleri Python 3.13 veya daha yeni bir sürüm gerektirir",
|
||||
"typeVarDefaultIllegal": "Tür değişkeni varsayılan türleri Viper 3.13 veya daha yeni bir sürüm gerektirir",
|
||||
"typeVarDefaultInvalidTypeVar": "\"{name}\" tür parametresi, kapsam dışı bir veya daha fazla tür değişkenine başvuran varsayılan bir türe sahip",
|
||||
"typeVarFirstArg": "İlk bağımsız değişken olarak TypeVar adı bekleniyordu",
|
||||
"typeVarInvalidForMemberVariable": "Öznitelik türü, yerel yöntem kapsamına alınan \"{name}\" tür değişkenini kullanamaz",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "Soyut temel sınıfta tanımlanan değişkenler \"{classType}\" final sınıfında başlatılmaz",
|
||||
"uninitializedInstanceVariable": "\"{name}\" örnek değişkeni sınıf gövdesinde veya __init__ metodunda başlatılmadı",
|
||||
"unionForwardReferenceNotAllowed": "Union söz dizimi dize işleneni ile kullanılamaz; ifadenin tamamını tırnak içine alın",
|
||||
"unionSyntaxIllegal": "Union işlemlerinde alternatif söz dizimi kullanılabilmesi için Python 3.10 veya daha yeni bir sürümü gerekiyor",
|
||||
"unionSyntaxIllegal": "Union işlemlerinde alternatif söz dizimi kullanılabilmesi için Viper 3.10 veya daha yeni bir sürümü gerekiyor",
|
||||
"unionTypeArgCount": "Union için iki veya daha fazla tür bağımsız değişkeni gerekiyor",
|
||||
"unionUnpackedTuple": "Union, paketlenmemiş bir tuple içeremez",
|
||||
"unionUnpackedTypeVarTuple": "Union, paketlenmemiş bir TypeVarTuple içeremez",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Unpack operator not allowed within a set",
|
||||
"unpackNotAllowed": "Unpack is not allowed in this context",
|
||||
"unpackOperatorNotAllowed": "Bu bağlamda paket açma işlemi kullanılamaz",
|
||||
"unpackTuplesIllegal": "Python 3.8'den önceki demetler içinde paket açma işlemi kullanılamıyor",
|
||||
"unpackTuplesIllegal": "Viper 3.8'den önceki demetler içinde paket açma işlemi kullanılamıyor",
|
||||
"unpackedArgInTypeArgument": "Paketlenmemiş bağımsız değişkenler bu bağlamda kullanılamaz",
|
||||
"unpackedArgWithVariadicParam": "Paketlenmemiş bağımsız değişken, TypeVarTuple parametresi için kullanılamaz",
|
||||
"unpackedDictArgumentNotMapping": "** sonrasındaki bağımsız değişken ifadesi \"str\" anahtar türüne sahip bir eşleme olmalıdır",
|
||||
"unpackedDictSubscriptIllegal": "Alt simgede sözlük açma işlecine izin verilmiyor",
|
||||
"unpackedSubscriptIllegal": "Alt simgede açma işleci için Python 3.11 veya daha yeni bir sürümü gerekiyor",
|
||||
"unpackedSubscriptIllegal": "Alt simgede açma işleci için Viper 3.11 veya daha yeni bir sürümü gerekiyor",
|
||||
"unpackedTypeVarTupleExpected": "Paketlenmemiş TypeVarTuple bekleniyordu; Unpack[{name1}] veya *{name2} kullanın",
|
||||
"unpackedTypedDictArgument": "Paketlenmemiş TypedDict bağımsız değişkeni parametrelerle eşlenemiyor",
|
||||
"unreachableCodeCondition": "Koşul statik şekilde false olarak değerlendirildiği için kod analiz edilmedi",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "Çağrı ifadesinin sonucu \"{type}\" türünde ve kullanılmıyor; bilerek yapıldıysa \"_\" değişkenine atayın",
|
||||
"unusedCoroutine": "Result of async function call is not used; use \"await\" or assign result to variable",
|
||||
"unusedExpression": "İfade değeri kullanılmadı",
|
||||
"varAnnotationIllegal": "Type annotations for variables requires Python 3.6 or newer; use type comment for compatibility with previous versions",
|
||||
"varAnnotationIllegal": "Type annotations for variables requires Viper 3.6 or newer; use type comment for compatibility with previous versions",
|
||||
"variableFinalOverride": "\"{name}\" değişkeni Final olarak işaretlendi ve \"{className}\" sınıfı içinde aynı ada sahip Final olmayan değişkeni geçersiz kılıyor",
|
||||
"variadicTypeArgsTooMany": "Tür bağımsız değişkeni listesinde en fazla bir paketlenmemiş TypeVarTuple veya tuple olabilir",
|
||||
"variadicTypeParamTooManyAlias": "Tür diğer adı en fazla bir TypeVarTuple tür parametresine sahip olabilir ancak birden fazlası {names}) alındı",
|
||||
"variadicTypeParamTooManyClass": "Genel sınıf en fazla bir TypeVarTuple tür parametresine sahip olabilir ancak birden fazlası {names}) alındı",
|
||||
"walrusIllegal": "\":=\" işleci için Python 3.8 veya daha yeni bir sürümü gerekiyor",
|
||||
"walrusIllegal": "\":=\" işleci için Viper 3.8 veya daha yeni bir sürümü gerekiyor",
|
||||
"walrusNotAllowed": "Çevreleyen parantezler olmadan bu bağlamda \":=\" işlecine izin verilmiyor",
|
||||
"wildcardInFunction": "Wildcard import not allowed within a class or function",
|
||||
"wildcardLibraryImport": "Wildcard import from a library not allowed",
|
||||
"wildcardPatternTypePartiallyUnknown": "Joker karakter deseni tarafından yakalanan tür kısmen bilinmiyor",
|
||||
"wildcardPatternTypeUnknown": "Joker karakter deseni tarafından yakalanan tür bilinmiyor",
|
||||
"yieldFromIllegal": "\"yield from\" kullanımı için Python 3.3 veya daha yeni bir sürümü gerekiyor",
|
||||
"yieldFromIllegal": "\"yield from\" kullanımı için Viper 3.3 veya daha yeni bir sürümü gerekiyor",
|
||||
"yieldFromOutsideAsync": "\"yield from\" not allowed in an async function",
|
||||
"yieldOutsideFunction": "\"yield\", işlev veya lambda dışında kullanılamaz",
|
||||
"yieldWithinComprehension": "Bir anlama içinde “yield” kullanılamaz",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "“assert_type”不匹配:应为“{expected}”,但收到“{received}”",
|
||||
"assignmentExprComprehension": "赋值表达式目标“{name}”不能使用与目标推导式相同的名称",
|
||||
"assignmentExprContext": "赋值表达式必须在模块、函数或 lambda 中",
|
||||
"assignmentExprInSubscript": "仅在 Python 3.10 和更高版本中支持下标中的赋值表达式",
|
||||
"assignmentExprInSubscript": "仅在 Viper 3.10 和更高版本中支持下标中的赋值表达式",
|
||||
"assignmentInProtocol": "Protocol 类中的实例或类变量必须在类主体内显式声明",
|
||||
"assignmentTargetExpr": "表达式不能是赋值目标",
|
||||
"asyncNotInAsyncFunction": "不允许在 async 函数之外使用 \"async\"",
|
||||
"awaitIllegal": "使用 “await” 需要 Python 3.5 或更高版本",
|
||||
"awaitIllegal": "使用 “await” 需要 Viper 3.5 或更高版本",
|
||||
"awaitNotAllowed": "类型表达式不能使用 \"await\"",
|
||||
"awaitNotInAsync": "仅允许在 async 函数内使用 \"await\"",
|
||||
"backticksIllegal": "Python 3.x 中不支持由反引号环绕的表达式;请改用 repr",
|
||||
"backticksIllegal": "Viper 3.x 中不支持由反引号环绕的表达式;请改用 repr",
|
||||
"baseClassCircular": "类不能从自身派生",
|
||||
"baseClassFinal": "基类 \"{type}\" 被标记为 final 类,无法子类化",
|
||||
"baseClassIncompatible": "{type} 的基类相互不兼容",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "无法在类模式中使用“{type}”,因为它是使用 NewType 定义的",
|
||||
"classPatternPositionalArgCount": "类“{type}”的位置模式太多; 应为 {expected},但收到了 {received}",
|
||||
"classPatternTypeAlias": "无法在类模式中使用“{type}”,因为它是专用类型别名",
|
||||
"classPropertyDeprecated": "类属性在 Python 3.11 中已弃用,在 Python 3.13 中将不受支持",
|
||||
"classTypeParametersIllegal": "类类型参数语法需要 Python 3.12 或更高版本",
|
||||
"classPropertyDeprecated": "类属性在 Viper 3.11 中已弃用,在 Viper 3.13 中将不受支持",
|
||||
"classTypeParametersIllegal": "类类型参数语法需要 Viper 3.12 或更高版本",
|
||||
"classVarFirstArgMissing": "\"ClassVar\"后应为类型参数",
|
||||
"classVarNotAllowed": "此上下文中不允许使用“ClassVar”",
|
||||
"classVarOverridesInstanceVar": "类变量\"{name}\"替代类\"{className}\"中的同名实例变量",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "已弃用 property \"{name}\" 的 deleter",
|
||||
"deprecatedPropertyGetter": "已弃用 property \"{name}\" 的 getter",
|
||||
"deprecatedPropertySetter": "已弃用 property \"{name}\" 的 setter",
|
||||
"deprecatedType": "自 Python {version} 起,此类型已弃用;请改用“{replacement}”",
|
||||
"deprecatedType": "自 Viper {version} 起,此类型已弃用;请改用“{replacement}”",
|
||||
"dictExpandIllegalInComprehension": "推导式中不允许使用字典扩展",
|
||||
"dictInAnnotation": "类型表达式中不允许使用字典表达式",
|
||||
"dictKeyValuePairs": "字典条目必须包含键/值对",
|
||||
@@ -164,9 +164,9 @@
|
||||
"viperBeforeInitReserved": "\"__before_init__\" 由编译器自动生成,不允许手动定义",
|
||||
"exceptGroupMismatch": "Try 语句不能同时包含 \"except\" 和 \"except*\"",
|
||||
"exceptGroupRequiresType": "异常组语法(\"except*\")需要异常类型",
|
||||
"exceptRequiresParens": "在 Python 3.14 之前的版本中,多个异常类型必须用括号括起来",
|
||||
"exceptRequiresParens": "在 Viper 3.14 之前的版本中,多个异常类型必须用括号括起来",
|
||||
"exceptWithAsRequiresParens": "使用 \"as\" 时,多个异常类型必须用括号括起来",
|
||||
"exceptionGroupIncompatible": "异常组语法 (\"except*\") 需要 Python 3.11 或更高版本",
|
||||
"exceptionGroupIncompatible": "异常组语法 (\"except*\") 需要 Viper 3.11 或更高版本",
|
||||
"exceptionGroupTypeIncorrect": "except* 中的异常类型不能派生自 BaseGroupException",
|
||||
"exceptionTypeIncorrect": "\"{type}\" 不是派生自 BaseException",
|
||||
"exceptionTypeNotClass": "“{type}”不是有效的异常类",
|
||||
@@ -184,7 +184,7 @@
|
||||
"expectedCloseParen": "\"(\" 未关闭",
|
||||
"expectedColon": "应为 \":\"",
|
||||
"expectedComplexNumberLiteral": "模式匹配的预期复数文本",
|
||||
"expectedDecoratorExpr": "Python 3.9 之前的修饰器不支持表达式窗体",
|
||||
"expectedDecoratorExpr": "Viper 3.9 之前的修饰器不支持表达式窗体",
|
||||
"expectedDecoratorName": "预期的修饰器名称",
|
||||
"expectedDecoratorNewline": "修饰器末尾应有新行",
|
||||
"expectedDelExpr": "\"del\"后应为表达式",
|
||||
@@ -233,19 +233,19 @@
|
||||
"finallyReturn": "“return” 不能用于退出 “finally” 块",
|
||||
"formatStringBrace": "f 字符串文本中不允许使用单个右大括号;使用双右大括号",
|
||||
"formatStringBytes": "格式字符串文本(f 字符串)不能为二进制",
|
||||
"formatStringDebuggingIllegal": "F 字符串调试说明符“=”需要 Python 3.8 或更高版本",
|
||||
"formatStringEscape": "Python 3.12 之前 f 字符串的表达式部分中不允许使用转义序列(反斜杠)",
|
||||
"formatStringDebuggingIllegal": "F 字符串调试说明符“=”需要 Viper 3.8 或更高版本",
|
||||
"formatStringEscape": "Viper 3.12 之前 f 字符串的表达式部分中不允许使用转义序列(反斜杠)",
|
||||
"formatStringExpectedConversion": "在 f 字符串中应为 \"!\" 之后的转换说明符",
|
||||
"formatStringIllegal": "格式化字符串文本(f 字符串)需要 Python 3.6 或更高版本",
|
||||
"formatStringIllegal": "格式化字符串文本(f 字符串)需要 Viper 3.6 或更高版本",
|
||||
"formatStringInPattern": "模式中不允许使用格式字符串",
|
||||
"formatStringNestedFormatSpecifier": "表达式嵌套在格式字符串说明符内太深",
|
||||
"formatStringNestedQuote": "嵌套在 f 字符串中的字符串不能使用与 Python 3.12 之前的 f 字符串相同的引号字符",
|
||||
"formatStringNestedQuote": "嵌套在 f 字符串中的字符串不能使用与 Viper 3.12 之前的 f 字符串相同的引号字符",
|
||||
"formatStringTemplate": "格式字符串字面量(f-strings)也不能是模板字符串(t-strings)",
|
||||
"formatStringUnicode": "格式字符串文本(f 字符串)不能为 unicode",
|
||||
"formatStringUnterminated": "f 字符串中未终止的表达式;应为 \"}\"",
|
||||
"functionDecoratorTypeUnknown": "非类型化函数修饰器遮盖函数类型;忽略修饰器",
|
||||
"functionInConditionalExpression": "始终计算结果为 True 的条件表达式引用函数",
|
||||
"functionTypeParametersIllegal": "函数类型参数语法需要 Python 3.12 或更高版本",
|
||||
"functionTypeParametersIllegal": "函数类型参数语法需要 Viper 3.12 或更高版本",
|
||||
"futureImportLocationNotAllowed": "从__future__导入必须位于文件的开头",
|
||||
"generatorAsyncReturnType": "async 生成器函数的返回类型必须与 \"AsyncGenerator[{yieldType}, Any]\" 兼容",
|
||||
"generatorNotParenthesized": "如果不是唯一参数,生成器表达式必须带圆括号",
|
||||
@@ -305,7 +305,7 @@
|
||||
"literalNotAllowed": "如果没有类型参数,则 \"Literal\" 不能用于此上下文",
|
||||
"literalNotCallable": "无法实例化 Literal 类型",
|
||||
"literalUnsupportedType": "\"Literal\" 的类型参数必须是 None、文本值(int、bool、str 或 bytes)或 enum 值",
|
||||
"matchIncompatible": "Match 语句需要 Python 3.10 或更高版本",
|
||||
"matchIncompatible": "Match 语句需要 Viper 3.10 或更高版本",
|
||||
"matchIsNotExhaustive": "match 语句中的事例不会彻底处理所有值",
|
||||
"maxParseDepthExceeded": "超出最大分析深度;将表达式分解为较小的子表达式",
|
||||
"memberAccess": "无法访问类“{type}”的属性“{name}”",
|
||||
@@ -370,7 +370,7 @@
|
||||
"obscuredParameterDeclaration": "参数声明“{name}”被同名声明遮盖",
|
||||
"obscuredTypeAliasDeclaration": "类型别名声明“{name}”被同名声明遮盖",
|
||||
"obscuredVariableDeclaration": "声明“{name}”被同名声明遮盖",
|
||||
"operatorLessOrGreaterDeprecated": "Python 3 不支持运算符“<>”;请改用 \"!=\"",
|
||||
"operatorLessOrGreaterDeprecated": "Viper 3 不支持运算符“<>”;请改用 \"!=\"",
|
||||
"optionalExtraArgs": "\"Optional\"后面应有一个类型参数",
|
||||
"orPatternIrrefutable": "无可辩驳的模式仅允许作为 \"or\"模式中的最后一个子模式",
|
||||
"orPatternMissingName": "“or”模式中的所有子节点必须以相同的名称为目标",
|
||||
@@ -410,7 +410,7 @@
|
||||
"paramTypeCovariant": "不能在参数类型中使用协变类型变量",
|
||||
"paramTypePartiallyUnknown": "参数\"{paramName}\"的类型部分未知",
|
||||
"paramTypeUnknown": "参数“{paramName}”的类型未知",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "主题类型“{type}”的模式永远不会匹配",
|
||||
"positionArgAfterNamedArg": "位置参数不能出现在关键字参数之后",
|
||||
"positionArgAfterUnpackedDictArg": "位置参数不能出现在关键字参数解压缩之后",
|
||||
@@ -418,7 +418,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "“/”参数必须出现在“*”参数之前",
|
||||
"positionOnlyAfterNon": "非仅位置参数后面不允许仅位置参数",
|
||||
"positionOnlyFirstParam": "不允许将仅位置参数分隔符用作第一个参数",
|
||||
"positionOnlyIncompatible": "仅位置参数分隔符需要 Python 3.8 或更高版本",
|
||||
"positionOnlyIncompatible": "仅位置参数分隔符需要 Viper 3.8 或更高版本",
|
||||
"privateImportFromPyTypedModule": "未从模块“{module}”导出“{name}”",
|
||||
"privateUsedOutsideOfClass": "\"{name}\"是专用的,在声明它的类之外使用",
|
||||
"privateUsedOutsideOfModule": "“{name}”是专用的,在声明它的模块外部使用",
|
||||
@@ -427,7 +427,7 @@
|
||||
"protectedUsedOutsideOfClass": "“{name}”在声明它的类之外受到保护并被使用",
|
||||
"protocolBaseClass": "Protocol 类 \"{classType}\" 不能派生自非 Protocol 类 \"{baseType}\"",
|
||||
"protocolBaseClassWithTypeArgs": "使用类型参数语法时,Protocol 类不允许使用类型参数",
|
||||
"protocolIllegal": "使用 \"Protocol\" 需要 Python 3.7 或更高版本",
|
||||
"protocolIllegal": "使用 \"Protocol\" 需要 Viper 3.7 或更高版本",
|
||||
"protocolNotAllowed": "\"Protocol\" 不能用于此上下文",
|
||||
"protocolTypeArgMustBeTypeParam": "\"Protocol\" 的类型参数必须是类型参数",
|
||||
"protocolUnsafeOverlap": "类与“{name}”不安全地重叠,并且可能在运行时生成匹配项",
|
||||
@@ -481,7 +481,7 @@
|
||||
"stringUnterminated": "字符串文本未终止",
|
||||
"stubFileMissing": "找不到 \"{importName}\" 的 Stub 文件",
|
||||
"stubUsesGetAttr": "类型 stub 文件不完整; \"__getattr__\" 遮盖了模块的类型错误",
|
||||
"sublistParamsIncompatible": "Python 3.x 不支持 Sublist 参数",
|
||||
"sublistParamsIncompatible": "Viper 3.x 不支持 Sublist 参数",
|
||||
"superCallArgCount": "“super” 调用应不超过两个参数",
|
||||
"superCallFirstArg": "应将类类型作为“super”调用的第一个参数,但收到“{type}”",
|
||||
"superCallSecondArg": "“super”调用的第二个参数必须是派生自“{type}”的对象或类",
|
||||
@@ -492,7 +492,7 @@
|
||||
"symbolIsUndefined": "未定义“{name}”",
|
||||
"symbolOverridden": "“{name}”替代类“{className}”中的同名符号",
|
||||
"templateStringBytes": "模板字符串字面量(t-strings)不能为二进制",
|
||||
"templateStringIllegal": "模板字符串字面量(t-strings)需要 Python 3.14 或更高版本",
|
||||
"templateStringIllegal": "模板字符串字面量(t-strings)需要 Viper 3.14 或更高版本",
|
||||
"templateStringUnicode": "模板字符串字面量(t-strings)不能为 unicode",
|
||||
"ternaryNotAllowed": "类型表达式中不允许使用三元表达式",
|
||||
"totalOrderingMissingMethod": "类必须定义“__lt__”、“__le__”、“__gt__”或“__ge__”之一才能使用total_ordering",
|
||||
@@ -506,7 +506,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias 只能在模块或类范围内定义",
|
||||
"typeAliasRedeclared": "“{name}”声明为 TypeAlias,只能分配一次",
|
||||
"typeAliasStatementBadScope": "type 语句只能在模块或类范围内使用",
|
||||
"typeAliasStatementIllegal": "类型别名语句需要 Python 3.12 或更高版本",
|
||||
"typeAliasStatementIllegal": "类型别名语句需要 Viper 3.12 或更高版本",
|
||||
"typeAliasTypeBadScope": "只能在模块或类范围内定义类型别名",
|
||||
"typeAliasTypeBaseClass": "\"type\" 语句中定义的类型别名不能用作基类",
|
||||
"typeAliasTypeMustBeAssigned": "必须将 TypeAliasType 分配给与类型别名同名的变量",
|
||||
@@ -559,7 +559,7 @@
|
||||
"typeVarConstraintGeneric": "TypeVar 约束类型不能是泛型",
|
||||
"typeVarDefaultBoundMismatch": "TypeVar 默认类型必须是绑定类型的子类型",
|
||||
"typeVarDefaultConstraintMismatch": "TypeVar 默认类型必须是受约束类型之一",
|
||||
"typeVarDefaultIllegal": "类型变量默认类型需要 Python 3.13 或更高版本",
|
||||
"typeVarDefaultIllegal": "类型变量默认类型需要 Viper 3.13 或更高版本",
|
||||
"typeVarDefaultInvalidTypeVar": "类型参数“{name}”的默认类型是指超出范围的一个或多个类型变量",
|
||||
"typeVarFirstArg": "TypeVar 作为第一个参数的预期名称",
|
||||
"typeVarInvalidForMemberVariable": "属性类型不能使用作用域为本地方法的类型变量\"{name}\"",
|
||||
@@ -621,7 +621,7 @@
|
||||
"uninitializedAbstractVariables": "抽象基类中定义的变量未在 final 类 \"{classType}\" 中初始化",
|
||||
"uninitializedInstanceVariable": "未在类体或__init__方法中初始化实例变量“{name}”",
|
||||
"unionForwardReferenceNotAllowed": "Union 语法不能与字符串操作数一起使用; 请在整个表达式周围使用引号",
|
||||
"unionSyntaxIllegal": "联合的替代语法需要 Python 3.10 或更高版本",
|
||||
"unionSyntaxIllegal": "联合的替代语法需要 Viper 3.10 或更高版本",
|
||||
"unionTypeArgCount": "Union 需要两个或更多类型参数",
|
||||
"unionUnpackedTuple": "Union 不能包含未打包的 tuple",
|
||||
"unionUnpackedTypeVarTuple": "Union 不能包含未打包的 TypeVarTuple",
|
||||
@@ -642,12 +642,12 @@
|
||||
"unpackInSet": "set 内不允许使用解包运算符",
|
||||
"unpackNotAllowed": "此上下文中不允许 Unpack",
|
||||
"unpackOperatorNotAllowed": "此上下文中不允许解压缩操作",
|
||||
"unpackTuplesIllegal": "Python 3.8 之前的元组中不允许解包操作",
|
||||
"unpackTuplesIllegal": "Viper 3.8 之前的元组中不允许解包操作",
|
||||
"unpackedArgInTypeArgument": "未打包的参数不能用于此上下文",
|
||||
"unpackedArgWithVariadicParam": "未打包的参数不能用于 TypeVarTuple 参数",
|
||||
"unpackedDictArgumentNotMapping": "** 后面的参数表达式必须是具有“str”键类型的映射",
|
||||
"unpackedDictSubscriptIllegal": "不允许在下标中使用字典解包运算符",
|
||||
"unpackedSubscriptIllegal": "下标中的解包运算符需要 Python 3.11 或更高版本",
|
||||
"unpackedSubscriptIllegal": "下标中的解包运算符需要 Viper 3.11 或更高版本",
|
||||
"unpackedTypeVarTupleExpected": "应为未打包的 TypeVarTuple;使用 Unpack[{name1}] 或 *{name2}",
|
||||
"unpackedTypedDictArgument": "无法将解压缩的 TypedDict 参数与参数匹配",
|
||||
"unreachableCodeCondition": "由于条件静态评估结果为 false,因此未对代码进行分析",
|
||||
@@ -658,18 +658,18 @@
|
||||
"unusedCallResult": "调用表达式的结果类型为 \"{type}\" 且未使用;如果这是有意为之,则分配给变量 “_”",
|
||||
"unusedCoroutine": "未使用 async 函数调用的结果; 请使用 \"await\" 或将结果分配给变量",
|
||||
"unusedExpression": "表达式值未使用",
|
||||
"varAnnotationIllegal": "变量的 Type 批注需要 Python 3.6 或更高版本; 请使用 type 注释以与以前的版本兼容",
|
||||
"varAnnotationIllegal": "变量的 Type 批注需要 Viper 3.6 或更高版本; 请使用 type 注释以与以前的版本兼容",
|
||||
"variableFinalOverride": "变量\"{name}\"被标记为 Final,并替代类\"{className}\"中同名的非 Final 变量",
|
||||
"variadicTypeArgsTooMany": "类型参数列表最多可以有一个未打包的 TypeVarTuple 或 tuple",
|
||||
"variadicTypeParamTooManyAlias": "类型别名最多可以有一个 TypeVarTuple 类型参数,但收到多个 ({names})",
|
||||
"variadicTypeParamTooManyClass": "泛型类最多可以有一个 TypeVarTuple 类型参数,但收到多个 ({names})",
|
||||
"walrusIllegal": "运算符 \":=\" 需要 Python 3.8 或更高版本",
|
||||
"walrusIllegal": "运算符 \":=\" 需要 Viper 3.8 或更高版本",
|
||||
"walrusNotAllowed": "此上下文中不允许使用运算符 \":=\",且不带括号",
|
||||
"wildcardInFunction": "类或函数中不允许使用通配符 import",
|
||||
"wildcardLibraryImport": "不允许从库中 import 通配符",
|
||||
"wildcardPatternTypePartiallyUnknown": "通配符模式捕获的类型部分未知",
|
||||
"wildcardPatternTypeUnknown": "通配符模式捕获的类型未知",
|
||||
"yieldFromIllegal": "使用“yield from”需要 Python 3.3 或更高版本",
|
||||
"yieldFromIllegal": "使用“yield from”需要 Viper 3.3 或更高版本",
|
||||
"yieldFromOutsideAsync": "async 函数中不允许使用 \"yield from\"",
|
||||
"yieldOutsideFunction": "不允许在函数或 lambda 之外使用“yield”",
|
||||
"yieldWithinComprehension": "允许在推导式中使用 \"yield\"",
|
||||
|
||||
@@ -42,14 +42,14 @@
|
||||
"assertTypeTypeMismatch": "\"assert_type\" 不符: 預期為 \"{expected}\",但收到 \"{received}\"",
|
||||
"assignmentExprComprehension": "指派運算式目標 \"{name}\" 不能使用與目標 Comprehension 相同的名稱",
|
||||
"assignmentExprContext": "Assignment 運算式必須在模組、函式或 Lambda 內",
|
||||
"assignmentExprInSubscript": "下標內的 Assignment 運算式僅在 Python 3.10 和更新版本中支援",
|
||||
"assignmentExprInSubscript": "下標內的 Assignment 運算式僅在 Viper 3.10 和更新版本中支援",
|
||||
"assignmentInProtocol": "必須在類別主體內明確宣告 Protocol 類別內的執行個體或類別變數",
|
||||
"assignmentTargetExpr": "運算式不能是指派目標",
|
||||
"asyncNotInAsyncFunction": "不允許在非 async 之外使用 \"async\"",
|
||||
"awaitIllegal": "使用 \"await\" 需要 Python 3.5 或更新版本",
|
||||
"awaitIllegal": "使用 \"await\" 需要 Viper 3.5 或更新版本",
|
||||
"awaitNotAllowed": "類型運算式不能使用 \"await\"",
|
||||
"awaitNotInAsync": "只在 async 函式內允許 \"await\"",
|
||||
"backticksIllegal": "Python 3.x 中不支援以反引號括住的運算式; 請改為使用 repr",
|
||||
"backticksIllegal": "Viper 3.x 中不支援以反引號括住的運算式; 請改為使用 repr",
|
||||
"baseClassCircular": "類別無法從本身衍生",
|
||||
"baseClassFinal": "基底類別 \"{type}\" 標示為 final,且不能設為子類別",
|
||||
"baseClassIncompatible": "{type} 的基底類別互不相容",
|
||||
@@ -78,8 +78,8 @@
|
||||
"classPatternNewType": "\"{type}\" 無法用於類別模式,因為它是使用 NewType 所定義",
|
||||
"classPatternPositionalArgCount": "類別 \"{type}\" 的位置模式太多;預期 {expected} 但收到 {received}",
|
||||
"classPatternTypeAlias": "無法在類別模式中使用 \"{type}\",因為它是特殊的型別別名",
|
||||
"classPropertyDeprecated": "類別屬性在 Python 3.11 中已取代,在 Python 3.13 中將不受支援",
|
||||
"classTypeParametersIllegal": "類別類型參數語法需要 Python 3.12 或更新版本",
|
||||
"classPropertyDeprecated": "類別屬性在 Viper 3.11 中已取代,在 Viper 3.13 中將不受支援",
|
||||
"classTypeParametersIllegal": "類別類型參數語法需要 Viper 3.12 或更新版本",
|
||||
"classVarFirstArgMissing": "\"ClassVar\" 後面應有一個型別引數",
|
||||
"classVarNotAllowed": "此內容中不允許 \"ClassVar\"",
|
||||
"classVarOverridesInstanceVar": "類別變數 \"{name}\" 會覆寫類別 \"{className}\" 中相同名稱的執行個體變數",
|
||||
@@ -134,7 +134,7 @@
|
||||
"deprecatedPropertyDeleter": "The deleter for property \"{name}\" is deprecated",
|
||||
"deprecatedPropertyGetter": "The getter for property \"{name}\" is deprecated",
|
||||
"deprecatedPropertySetter": "The setter for property \"{name}\" is deprecated",
|
||||
"deprecatedType": "此類型已隨著 Python {version} 取代; 請改為使用 \"{replacement}\"",
|
||||
"deprecatedType": "此類型已隨著 Viper {version} 取代; 請改為使用 \"{replacement}\"",
|
||||
"dictExpandIllegalInComprehension": "Comprehension 中不允許字典擴充",
|
||||
"dictInAnnotation": "類型運算式中不允許字典運算式",
|
||||
"dictKeyValuePairs": "字典項目必須包含金鑰/值組",
|
||||
@@ -163,9 +163,9 @@
|
||||
"enumMemberTypeAnnotation": "Type annotations are not allowed for enum members",
|
||||
"exceptGroupMismatch": "Try 陳述式不能同時包含 \"except\" 與 “except*”",
|
||||
"exceptGroupRequiresType": "例外狀況群組語法 (\"except*\") 需要例外狀況類型",
|
||||
"exceptRequiresParens": "在 Python 3.14 之前,必須以小括號括住多個例外類型",
|
||||
"exceptRequiresParens": "在 Viper 3.14 之前,必須以小括號括住多個例外類型",
|
||||
"exceptWithAsRequiresParens": "使用 \"as\" 時,必須以小括號括住多個例外類型",
|
||||
"exceptionGroupIncompatible": "例外群組語法 (\"except*\") 需要 Python 3.11 或更新版本",
|
||||
"exceptionGroupIncompatible": "例外群組語法 (\"except*\") 需要 Viper 3.11 或更新版本",
|
||||
"exceptionGroupTypeIncorrect": "except* 中的例外狀況類型不能衍生自 BaseGroupException",
|
||||
"exceptionTypeIncorrect": "\"{type}\" 不是衍生自 BaseException",
|
||||
"exceptionTypeNotClass": "\"{type}\" 不是有效的例外類別",
|
||||
@@ -183,7 +183,7 @@
|
||||
"expectedCloseParen": "\"(\" 未關閉",
|
||||
"expectedColon": "預期為 \":\"",
|
||||
"expectedComplexNumberLiteral": "模式比對預期為複數常值",
|
||||
"expectedDecoratorExpr": "Python 3.9 之前的裝飾項目不支援運算式格式",
|
||||
"expectedDecoratorExpr": "Viper 3.9 之前的裝飾項目不支援運算式格式",
|
||||
"expectedDecoratorName": "預期為裝飾項目名稱",
|
||||
"expectedDecoratorNewline": "預期裝飾項目結尾為換行符號",
|
||||
"expectedDelExpr": "\"del\" 後預期為運算式",
|
||||
@@ -232,19 +232,19 @@
|
||||
"finallyReturn": "\"return\" 不能用來結束 “finally” 區塊",
|
||||
"formatStringBrace": "F 字串常值內不允許單一右大括弧; 請使用雙右大括弧",
|
||||
"formatStringBytes": "格式字串常值 (f-strings) 不可為二進位",
|
||||
"formatStringDebuggingIllegal": "F 字串偵錯指定名稱 \"=\" 需要 Python 3.8 或較新的版本",
|
||||
"formatStringEscape": "Python 3.12 之前的 f 字串運算式部分不允許逸出序列 (反斜線)",
|
||||
"formatStringDebuggingIllegal": "F 字串偵錯指定名稱 \"=\" 需要 Viper 3.8 或較新的版本",
|
||||
"formatStringEscape": "Viper 3.12 之前的 f 字串運算式部分不允許逸出序列 (反斜線)",
|
||||
"formatStringExpectedConversion": "預期 f-string 中的 \"!\" 後為轉換指定元",
|
||||
"formatStringIllegal": "格式字串常值 (f-strings) 需要 Python 3.6 或較新的版本",
|
||||
"formatStringIllegal": "格式字串常值 (f-strings) 需要 Viper 3.6 或較新的版本",
|
||||
"formatStringInPattern": "模式中不允許格式字串",
|
||||
"formatStringNestedFormatSpecifier": "運算式在格式字串指定元內巢狀太深",
|
||||
"formatStringNestedQuote": "f 字串內的巢狀字串無法使用與 Python 3.12 之前的 f 字串相同的引號字元",
|
||||
"formatStringNestedQuote": "f 字串內的巢狀字串無法使用與 Viper 3.12 之前的 f 字串相同的引號字元",
|
||||
"formatStringTemplate": "格式字串常值 (f-strings) 不能也是範本字串 (t-strings)",
|
||||
"formatStringUnicode": "格式字串常值 (f-strings) 不能是 Unicode",
|
||||
"formatStringUnterminated": "f 字串中有未結束的運算式; 應有 \"}\"",
|
||||
"functionDecoratorTypeUnknown": "非類型化函式修飾項目會遮蔽函式的類型; 忽略裝飾項目",
|
||||
"functionInConditionalExpression": "條件運算式參考函式,一律評估為 True",
|
||||
"functionTypeParametersIllegal": "函式型別參數語法需要 Python 3.12 或較新的版本",
|
||||
"functionTypeParametersIllegal": "函式型別參數語法需要 Viper 3.12 或較新的版本",
|
||||
"futureImportLocationNotAllowed": "來自 __future__ 的匯入必須位於檔案的開頭",
|
||||
"generatorAsyncReturnType": "Return type of async generator function must be compatible with \"AsyncGenerator[{yieldType}, Any]\"",
|
||||
"generatorNotParenthesized": "如果不是唯一引數,則必須將產生器運算式用括弧括住",
|
||||
@@ -300,7 +300,7 @@
|
||||
"literalNotAllowed": "沒有類型參數,\"Literal\" 不能在此內容中使用",
|
||||
"literalNotCallable": "Literal 類型不能具現化",
|
||||
"literalUnsupportedType": "\"Literal\" 的類型引數必須是 None、literal (int、bool、str 或 bytes) 或 enum 值",
|
||||
"matchIncompatible": "Match 陳述式需要 Python 3.10 或更新版本",
|
||||
"matchIncompatible": "Match 陳述式需要 Viper 3.10 或更新版本",
|
||||
"matchIsNotExhaustive": "match 陳述式內的案例並未完整處理所有值",
|
||||
"maxParseDepthExceeded": "超過剖析深度上限; 將運算式分成較小的子運算式",
|
||||
"memberAccess": "無法存取類別 \"{type}\" 的屬性 \"{name}\"",
|
||||
@@ -365,7 +365,7 @@
|
||||
"obscuredParameterDeclaration": "參數宣告 \"{name}\" 被相同名稱的宣告遮蔽",
|
||||
"obscuredTypeAliasDeclaration": "類型別名宣告 \"{name}\" 被相同名稱的宣告遮蔽",
|
||||
"obscuredVariableDeclaration": "宣告 \"{name}\" 被相同名稱的宣告遮蔽",
|
||||
"operatorLessOrGreaterDeprecated": "Python 3 中不支援運算子 \"<>\"; 請改為使用 \"!=\"",
|
||||
"operatorLessOrGreaterDeprecated": "Viper 3 中不支援運算子 \"<>\"; 請改為使用 \"!=\"",
|
||||
"optionalExtraArgs": "\"Optional\" 後面應有一個型別引數",
|
||||
"orPatternIrrefutable": "無法推翻的模式僅允許作為 \"or\" 模式中的最後一個子模式",
|
||||
"orPatternMissingName": "\"or\" 模式內的所有子模式都必須以相同的名稱為目標",
|
||||
@@ -405,7 +405,7 @@
|
||||
"paramTypeCovariant": "不能在參數類型中使用共變數類型變數",
|
||||
"paramTypePartiallyUnknown": "參數 \"{paramName}\" 的類型部分未知",
|
||||
"paramTypeUnknown": "參數 \"{paramName}\" 的類型未知",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Python 3.9 or newer",
|
||||
"parenthesizedContextManagerIllegal": "Parentheses within \"with\" statement requires Viper 3.9 or newer",
|
||||
"patternNeverMatches": "模式永遠不會符合主體類型 \"{type}\"",
|
||||
"positionArgAfterNamedArg": "位置引數不能出現在關鍵字引數之後",
|
||||
"positionArgAfterUnpackedDictArg": "位置引數不能在關鍵字引數解壓縮後出現",
|
||||
@@ -413,7 +413,7 @@
|
||||
"positionOnlyAfterKeywordOnly": "\"/\" 參數必須出現在 \"*\" 參數之前",
|
||||
"positionOnlyAfterNon": "非 Position-only 參數之後不允許 Position-only 參數",
|
||||
"positionOnlyFirstParam": "不允許 Position-only 參數分隔符號作為第一個參數",
|
||||
"positionOnlyIncompatible": "Position-only 參數分隔符號需要 Python 3.8 或更新版本",
|
||||
"positionOnlyIncompatible": "Position-only 參數分隔符號需要 Viper 3.8 或更新版本",
|
||||
"privateImportFromPyTypedModule": "\"{name}\" 未從模組 \"{module}\" 匯出",
|
||||
"privateUsedOutsideOfClass": "\"{name}\" 為私人,並用於宣告其所在的類別之外",
|
||||
"privateUsedOutsideOfModule": "\"{name}\" 為私人,並用於宣告其所在的模組之外",
|
||||
@@ -422,7 +422,7 @@
|
||||
"protectedUsedOutsideOfClass": "\"{name}\" 受到保護,並用於其宣告所在的類別之外",
|
||||
"protocolBaseClass": "Protocol 類別 \"{classType}\" 不能衍生自非 Protocol 類別 \"{baseType}\"",
|
||||
"protocolBaseClassWithTypeArgs": "使用型別參數語法時,Protocol 類別不允許使用型別引數",
|
||||
"protocolIllegal": "使用 \"Protocol\" 需要 Python 3.7 或更新版本",
|
||||
"protocolIllegal": "使用 \"Protocol\" 需要 Viper 3.7 或更新版本",
|
||||
"protocolNotAllowed": "\"Protocol\" 不能用在此內容中",
|
||||
"protocolTypeArgMustBeTypeParam": "“Protocol” 的型別引數必須是型別參數",
|
||||
"protocolUnsafeOverlap": "類別以不安全方式重疊 \"{name}\",且可能會在運行時間產生相符專案",
|
||||
@@ -476,7 +476,7 @@
|
||||
"stringUnterminated": "字串常值未結束",
|
||||
"stubFileMissing": "找不到 \"{importName}\" 的 stub 檔案",
|
||||
"stubUsesGetAttr": "類型 stub 檔案不完整; \"__getattr__\" 會遮蔽模組的類型錯誤",
|
||||
"sublistParamsIncompatible": "Python 3.x 不支援 sublist 參數",
|
||||
"sublistParamsIncompatible": "Viper 3.x 不支援 sublist 參數",
|
||||
"superCallArgCount": "\"super\" 呼叫不應有兩個以上的引數",
|
||||
"superCallFirstArg": "預期的類別類型為 \"super\" 呼叫的第一個引數,但收到 \"{type}\"",
|
||||
"superCallSecondArg": "\"super\" 呼叫的第二個引數必須是衍生自 \"{type}\" 的物件或類別",
|
||||
@@ -487,7 +487,7 @@
|
||||
"symbolIsUndefined": "\"{name}\" 未定義",
|
||||
"symbolOverridden": "\"{name}\" 會覆寫類別 \"{className}\" 中相同名稱的符號",
|
||||
"templateStringBytes": "範本字串常值 (t-strings) 不能是二進位",
|
||||
"templateStringIllegal": "範本字串常值 (t-strings) 需要 Python 3.14 或較新的版本",
|
||||
"templateStringIllegal": "範本字串常值 (t-strings) 需要 Viper 3.14 或較新的版本",
|
||||
"templateStringUnicode": "範本字串常值 (t-strings) 不能是 Unicode",
|
||||
"ternaryNotAllowed": "類型運算式中不允許三元運算式",
|
||||
"totalOrderingMissingMethod": "類別必須定義 \"__lt__\"、\"__le__\"、\"__gt__\" 或 \"__ge__\" 其中一個,才能使用 total_ordering",
|
||||
@@ -501,7 +501,7 @@
|
||||
"typeAliasNotInModuleOrClass": "TypeAlias 只能在模組或類別範圍內定義",
|
||||
"typeAliasRedeclared": "\"{name}\" 宣告為 TypeAlias,且只能指派一次",
|
||||
"typeAliasStatementBadScope": "A type statement can be used only within a module or class scope",
|
||||
"typeAliasStatementIllegal": "類型別名陳述式需要 Python 3.12 或更新版本",
|
||||
"typeAliasStatementIllegal": "類型別名陳述式需要 Viper 3.12 或更新版本",
|
||||
"typeAliasTypeBadScope": "類型別名只能在模組或類別範圍內定義",
|
||||
"typeAliasTypeBaseClass": "\"type\" 陳述式中定義的類型別名不能做為基底類別使用",
|
||||
"typeAliasTypeMustBeAssigned": "TypeAliasType 必須指派給與型別別名相同的變數",
|
||||
@@ -554,7 +554,7 @@
|
||||
"typeVarConstraintGeneric": "TypeVar 限制式類型不能是一般",
|
||||
"typeVarDefaultBoundMismatch": "TypeVar 預設型別必須是繫結型別的子型別",
|
||||
"typeVarDefaultConstraintMismatch": "TypeVar 預設型別必須是其中一個限制型別",
|
||||
"typeVarDefaultIllegal": "型別變數預設型別需要 Python 3.13 或較新的版本",
|
||||
"typeVarDefaultIllegal": "型別變數預設型別需要 Viper 3.13 或較新的版本",
|
||||
"typeVarDefaultInvalidTypeVar": "類型參數 \"{name}\" 的預設類型參考不在範圍的一或多個類型變數",
|
||||
"typeVarFirstArg": "預期為 TypeVar 的名稱作為第一個引數",
|
||||
"typeVarInvalidForMemberVariable": "屬性類型不能使用範圍為 local 方法的類型變數 \"{name}\"",
|
||||
@@ -616,7 +616,7 @@
|
||||
"uninitializedAbstractVariables": "抽象基底類別中定義的變數未在 final 類別 \"{classType}\" 中初始化",
|
||||
"uninitializedInstanceVariable": "執行個體變數 \"{name}\" 未在類別本文或 __init__ 方法上初始化",
|
||||
"unionForwardReferenceNotAllowed": "Union 語法不能與字串運算元搭配使用; 使用引號括住整個運算式",
|
||||
"unionSyntaxIllegal": "聯集的替代語法需要 Python 3.10 或更新版本",
|
||||
"unionSyntaxIllegal": "聯集的替代語法需要 Viper 3.10 或更新版本",
|
||||
"unionTypeArgCount": "Union 需要兩個或多個類型引數",
|
||||
"unionUnpackedTuple": "Union 不能包含未封裝的 tuple",
|
||||
"unionUnpackedTypeVarTuple": "Union 不能包含未封裝的 TypeVarTuple",
|
||||
@@ -637,12 +637,12 @@
|
||||
"unpackInSet": "Unpack operator not allowed within a set",
|
||||
"unpackNotAllowed": "此內容中不允許 Unpack",
|
||||
"unpackOperatorNotAllowed": "此內容中不允許解壓縮作業",
|
||||
"unpackTuplesIllegal": "Python 3.8 之前的 Tuple 中不允許解壓縮作業",
|
||||
"unpackTuplesIllegal": "Viper 3.8 之前的 Tuple 中不允許解壓縮作業",
|
||||
"unpackedArgInTypeArgument": "無法在此內容中使用未封裝的引數",
|
||||
"unpackedArgWithVariadicParam": "未封裝的引數無法用於 TypeVarTuple 參數",
|
||||
"unpackedDictArgumentNotMapping": "** 後的引數運算式必須是具有 \"str\" 金鑰類型的對應",
|
||||
"unpackedDictSubscriptIllegal": "字典解壓縮運算子在下標中不被允許",
|
||||
"unpackedSubscriptIllegal": "下標中的解壓縮運算子需要 Python 3.11 或更新版本",
|
||||
"unpackedSubscriptIllegal": "下標中的解壓縮運算子需要 Viper 3.11 或更新版本",
|
||||
"unpackedTypeVarTupleExpected": "預期為解壓縮的 TypeVarTuple; 使用 Unpack[{name1}] 或 *{name2}",
|
||||
"unpackedTypedDictArgument": "無法比對解壓縮的 TypedDict 引數與參數",
|
||||
"unreachableCodeCondition": "未分析程式碼,因為以靜態方式將條件評估為 False",
|
||||
@@ -653,18 +653,18 @@
|
||||
"unusedCallResult": "呼叫運算式的結果是 \"{type}\" 型別,而且未使用; 如果這是刻意的,則指派給變數 \"_\"",
|
||||
"unusedCoroutine": "未使用 async 函式呼叫的結果; 使用 \"await\" 或指派結果至變數",
|
||||
"unusedExpression": "未使用運算式值",
|
||||
"varAnnotationIllegal": "變數的 type 註釋需要 Python 3.6 或更新版本; 使用類型註解以獲得與先前版本的相容性",
|
||||
"varAnnotationIllegal": "變數的 type 註釋需要 Viper 3.6 或更新版本; 使用類型註解以獲得與先前版本的相容性",
|
||||
"variableFinalOverride": "變數 \"{name}\" 標示為 Final,且會覆寫類別 \"{className}\" 中相同名稱的非 Final 變數",
|
||||
"variadicTypeArgsTooMany": "類型引數清單最多只能有一個解壓縮的 TypeVarTuple 或 tuple",
|
||||
"variadicTypeParamTooManyAlias": "類型別名最多只能有一個 TypeVarTuple 類型參數,但收到多個 ({names})",
|
||||
"variadicTypeParamTooManyClass": "一般類別最多只能有一個 TypeVarTuple 類型參數,但收到多個 ({names})",
|
||||
"walrusIllegal": "運算子 \":=\" 需要 Python 3.8 或更新版本",
|
||||
"walrusIllegal": "運算子 \":=\" 需要 Viper 3.8 或更新版本",
|
||||
"walrusNotAllowed": "此內容中不允許未使用括弧括住的運算子 \":=\"",
|
||||
"wildcardInFunction": "類別或函式內不允許萬用字元 import",
|
||||
"wildcardLibraryImport": "不允許從程式庫 import 萬用字元",
|
||||
"wildcardPatternTypePartiallyUnknown": "萬用字元模式擷取的類型部分未知",
|
||||
"wildcardPatternTypeUnknown": "萬用字元模式擷取的型別不明",
|
||||
"yieldFromIllegal": "使用 \"yield from\" 需要 Python 3.3 或更新版本",
|
||||
"yieldFromIllegal": "使用 \"yield from\" 需要 Viper 3.3 或更新版本",
|
||||
"yieldFromOutsideAsync": "\"yield from\" not allowed in an async function",
|
||||
"yieldOutsideFunction": "在函式或 lambda 外部不允許 \"yield\"",
|
||||
"yieldWithinComprehension": "Comprehension 內不允許 \"yield\"",
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/**
|
||||
* Functions used for running viper with pprof.
|
||||
*
|
||||
* Steps taken to get this to work:
|
||||
* - Install VC++ Desktop C++ workload with at least one Windows SDK
|
||||
- Git clone DataDog/pprof-nodejs: pprof support for Node.js (github.com)
|
||||
○ Going to use this to generate an electron.node file for loading the profiler
|
||||
- Switch to packages\vscode-pylance
|
||||
- Npm install --save-dev node-abi@latest
|
||||
○ this is so electron-rebuild can find the right ABI
|
||||
- Npm install --save-dev @electron/rebuild
|
||||
- Electron rebuild the git cloned datadog/pprof-nodejs based on the version in VS code
|
||||
○ .\node_modules\.bin\electron-rebuild -v <version of electron reported in VS code about> -m <directory to datadog/pprof-nodejs>
|
||||
- Npm install --save-dev @datadog/pprof
|
||||
- Copy the build output from the electron-rebuild of the datadog git repository to the node_modules datadog
|
||||
○ It should be named something like bin\win32-x64-110\pprof-nodejs.node
|
||||
○ Copy it to the node_modules\@datadog\pprof\prebuilds\win32-x64
|
||||
○ Rename it to electron-110.node (or whatever ABI version it is using)
|
||||
- Modify pylance to use pprof around problem location using the viper\packages\vipeye-internal\pprof\profiler.ts
|
||||
○ startProfile before
|
||||
○ finishProfile after, passing it a file name
|
||||
- Rebuild Pylance
|
||||
- Make sure to turn off background analysis
|
||||
- Launch the CPU profiling profile
|
||||
- Reproduce the problem
|
||||
- Install Go (Get Started - The Go Programming Language)
|
||||
- Install Graphviz
|
||||
○ Choco install graphviz
|
||||
- Install the pprof cli
|
||||
○ go install github.com/google/pprof@latest
|
||||
- Run pprof -http to look at results.
|
||||
○ Profile should be in same directory as vscode-pylance output.
|
||||
○ Example pprof -http=: <name of profile>
|
||||
*/
|
||||
|
||||
declare const __webpack_require__: typeof require;
|
||||
declare const __non_webpack_require__: typeof require;
|
||||
|
||||
function getRequire(path: string) {
|
||||
const r = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require;
|
||||
try {
|
||||
return r(`../node_modules/${path}`);
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
}
|
||||
}
|
||||
|
||||
let counter = 1;
|
||||
|
||||
export function startProfile(): void {
|
||||
const pprof = getRequire('@datadog/pprof');
|
||||
pprof?.time.start({});
|
||||
console.log(`Starting profile : ${counter}`);
|
||||
}
|
||||
export function finishProfile(outputFile: string): void {
|
||||
const pprof = getRequire('@datadog/pprof');
|
||||
const profile = pprof?.time.stop();
|
||||
if (profile) {
|
||||
const fs = getRequire('fs-extra') as typeof import('fs-extra');
|
||||
const buffer = pprof?.encodeSync(profile);
|
||||
fs.writeFileSync(`${counter++}${outputFile}`, buffer);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
import { TypeServerProtocol } from './protocol/typeServerProtocol';
|
||||
|
||||
export function isTypeFlagSet(flags: TypeServerProtocol.TypeFlags, flag: TypeServerProtocol.TypeFlags): boolean {
|
||||
return (flags & flag) === flag;
|
||||
}
|
||||
Reference in new issue
Block a user