Skip to content

Commit 906e40a

Browse files
pull-pylance-with-pyright-1.1.407-20251029-180818 (#11072)
Co-authored-by: Azure Piplines <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d2a4d57 commit 906e40a

15 files changed

+17
-0
lines changed

packages/pyright-internal/src/languageServerBase.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ export abstract class LanguageServerBase implements LanguageServerInterface, Dis
414414
AnalyzerServiceExecutor.runWithOptions(workspace, serverSettings, { typeStubTargetImportName });
415415
workspace.searchPathsToWatch = workspace.service.librarySearchUrisToWatch ?? [];
416416
}
417+
protected get workspaceDiagnosticsReporter() {
418+
return this._workspaceDiagnosticsReporter;
419+
}
417420

418421
protected abstract executeCommand(params: ExecuteCommandParams, token: CancellationToken): Promise<any>;
419422

packages/pyright-internal/src/localization/package.nls.cs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "Třída TypedDict není povolená pro kontroly instancí nebo tříd.",
825825
"typedDictClosedExtraNotAllowed": "Do {name} nejde přidat položku.",
826826
"typedDictClosedExtraTypeMismatch": "Nelze přidat položku {name} s typem {type}.",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "Nelze přidat položku {name}, protože musí být NotRequired.",
828829
"typedDictExtraFieldNotAllowed": "{name} není k dispozici v {type}",
829830
"typedDictExtraFieldTypeMismatch": "Typ {name} není kompatibilní s typem „extra_items“ v typu {type}.",

packages/pyright-internal/src/localization/package.nls.de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "Die TypedDict-Klasse ist für Instanz- oder Klassenüberprüfungen nicht zulässig.",
825825
"typedDictClosedExtraNotAllowed": "Das Element „{name}“ kann nicht hinzugefügt werden.",
826826
"typedDictClosedExtraTypeMismatch": "Das Element „{name}“ mit dem Typ „{type}“ kann nicht hinzugefügt werden.",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "Das Element „{name}“ kann nicht hinzugefügt werden, da es „NotRequired“ sein muss.",
828829
"typedDictExtraFieldNotAllowed": "„{name}“ ist in „{type}“ nicht vorhanden.",
829830
"typedDictExtraFieldTypeMismatch": "Der Typ von „{name}“ ist nicht mit dem Typ „extra_items“ in „{type}“ kompatibel.",

packages/pyright-internal/src/localization/package.nls.es.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "No se permite la clase TypedDict para comprobaciones de instancia o clase",
825825
"typedDictClosedExtraNotAllowed": "No se puede agregar el elemento \"{name}\"",
826826
"typedDictClosedExtraTypeMismatch": "No se puede agregar el elemento \"{name}\" con el tipo \"{type}\"",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "No se puede agregar el elemento \"{name}\" porque debe ser NotRequired.",
828829
"typedDictExtraFieldNotAllowed": "\"{name}\" no está presente en \"{type}\"",
829830
"typedDictExtraFieldTypeMismatch": "El tipo de \"{name}\" no es compatible con el tipo de \"extra_items\" en \"{type}\"",

packages/pyright-internal/src/localization/package.nls.fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "Classe TypedDict non autorisée pour les vérifications d’instance ou de classe",
825825
"typedDictClosedExtraNotAllowed": "Impossible d’ajouter l’élément « {name} »",
826826
"typedDictClosedExtraTypeMismatch": "Impossible d’ajouter l’élément « {name} » avec le type « {type} »",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "Impossible d’ajouter l’élément « {name} », car il doit être NotRequired",
828829
"typedDictExtraFieldNotAllowed": "« {name} » n’est pas présent dans « {type} »",
829830
"typedDictExtraFieldTypeMismatch": "Le type de « {name} » est incompatible avec le type « extra_items » dans « {type} »",

packages/pyright-internal/src/localization/package.nls.it.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "Classe TypedDict non consentita per i controlli di istanze o classi",
825825
"typedDictClosedExtraNotAllowed": "Non è possibile aggiungere l'elemento \"{name}\"",
826826
"typedDictClosedExtraTypeMismatch": "Non è possibile aggiungere l'elemento \"{name}\" con tipo \"{type}\"",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "Non è possibile aggiungere l'elemento \"{name}\" perché deve essere NotRequired",
828829
"typedDictExtraFieldNotAllowed": "\"{name}\" non è presente in \"{type}\"",
829830
"typedDictExtraFieldTypeMismatch": "Il tipo di \"{name}\" non è compatibile con il tipo \"\"extra_items\" in \"{type}\"",

packages/pyright-internal/src/localization/package.nls.ja.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "TypedDict クラスはインスタンスまたはクラスのチェックには使用できません",
825825
"typedDictClosedExtraNotAllowed": "アイテム \"{name}\" を追加できません",
826826
"typedDictClosedExtraTypeMismatch": "\"{type}\" のアイテム \"{name}\" を追加できません",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "アイテム \"{name}\" を追加できません。これは NotRequired である必要があるためです。",
828829
"typedDictExtraFieldNotAllowed": "\"{name}\"\"{type}\" に存在しません",
829830
"typedDictExtraFieldTypeMismatch": "\"{name}\" の型は、\"{type}\"\"extra_items\" 型と互換性がありません",

packages/pyright-internal/src/localization/package.nls.ko.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "인스턴스 또는 클래스 검사에 TypedDict 클래스를 사용할 수 없습니다.",
825825
"typedDictClosedExtraNotAllowed": "항목 \"{name}\"을(를) 추가할 수 없음",
826826
"typedDictClosedExtraTypeMismatch": "형식이 \"{type}\"인 항목 \"{name}\"을(를) 추가할 수 없음",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "\"{name}\" 항목은 NotRequired여야 하므로 추가할 수 없습니다.",
828829
"typedDictExtraFieldNotAllowed": "\"{name}\"이(가) \"{type}\"에 없음",
829830
"typedDictExtraFieldTypeMismatch": "\"{name}\" 형식은 \"{type}\"\"extra_items\" 형식과 호환되지 않습니다.",

packages/pyright-internal/src/localization/package.nls.pl.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "Klasa TypedDict nie jest dozwolona na potrzeby sprawdzania wystąpienia lub klasy",
825825
"typedDictClosedExtraNotAllowed": "Nie można dodać elementu \"{name}\"",
826826
"typedDictClosedExtraTypeMismatch": "Nie można dodać elementu \"{name}\" z typem „{type}”",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "Nie można dodać elementu \"{name}\", ponieważ musi on mieć wartość NotRequired",
828829
"typedDictExtraFieldNotAllowed": "Element „{name}” nie jest obecny w typie „{type}”",
829830
"typedDictExtraFieldTypeMismatch": "Typ „{name}” jest niezgodny z typem „extra_items” w typie „{type}”",

packages/pyright-internal/src/localization/package.nls.pt-br.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
"typedDictClassNotAllowed": "A classe TypedDict não é permitida para verificações de instância ou classe",
825825
"typedDictClosedExtraNotAllowed": "Não é possível adicionar o item \"{name}\"",
826826
"typedDictClosedExtraTypeMismatch": "Não é possível adicionar o item \"{name}\" com o tipo \"{type}\"",
827+
"typedDictClosedFieldNotReadOnly": "Cannot add item \"{name}\" because it must be ReadOnly",
827828
"typedDictClosedFieldNotRequired": "Não é possível adicionar o item \"{name}\" porque ele deve ser NotRequired",
828829
"typedDictExtraFieldNotAllowed": "\"{name}\" não está presente em \"{type}\"",
829830
"typedDictExtraFieldTypeMismatch": "Tipo de \"{name}\" é incompatível com tipo de \"extra_items\" em \"{type}\"",

0 commit comments

Comments
 (0)