Skip to content

Commit

Permalink
Merge pull request #32 from lukaszgo1/transBuiltins
Browse files Browse the repository at this point in the history
VS Code config: Add functions used for translation to the list of recognized build-in names.
  • Loading branch information
josephsl authored Sep 13, 2023
2 parents 910f6ac + 08e3a08 commit 5b46cf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.insertSpaces": false,
"python.analysis.diagnosticSeverityOverrides": {
"reportUndefinedVariable": "none"
},
"python.analysis.stubPath": "${workspaceFolder}/.vscode/typings",
"python.analysis.extraPaths": [
"../nvda/source",
"../nvda/miscDeps/python"
Expand Down
6 changes: 6 additions & 0 deletions .vscode/typings/__builtins__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
def _(msg: str) -> str:
...


def pgettext(context: str, message: str) -> str:
...

0 comments on commit 5b46cf1

Please sign in to comment.