-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated add-on templates, updated for compatibility with NVDA2023.1.
- Loading branch information
1 parent
805de7b
commit ce9d45e
Showing
7 changed files
with
159 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
// List of extensions which should be recommended for users of this workspace. | ||
"recommendations": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"redhat.vscode-yaml" | ||
], | ||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"editor.accessibilitySupport": "on", | ||
"python.linting.enabled": true, | ||
"python.linting.maxNumberOfProblems": 10000, | ||
"python.linting.flake8Args": [ | ||
"--config=flake8.ini" | ||
], | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.pylintEnabled": false, | ||
"python.autoComplete.extraPaths": [ | ||
"../nvda/source", | ||
"../nvda/miscDeps/python" | ||
], | ||
"files.insertFinalNewline": true, | ||
"files.trimFinalNewlines": true, | ||
"editor.insertSpaces": false, | ||
"python.analysis.diagnosticSeverityOverrides": { | ||
"reportUndefinedVariable": "none" | ||
}, | ||
"python.analysis.extraPaths": [ | ||
"../nvda/source", | ||
"../nvda/miscDeps/python" | ||
], | ||
"python.defaultInterpreterPath": "../nvda/.venv/scripts/python.exe" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,25 +28,29 @@ def _(arg): | |
Press the command you assotiated with the addon via input gestures, to display OpenLinkWith dialog. | ||
"""), | ||
# version | ||
"addon_version": "2.7", | ||
"addon_version": "2.8", | ||
# Author(s) | ||
"addon_author": u"Ibrahim Hamadeh <[email protected]>, Cary Rowen <[email protected]>, Belala Toufik<[email protected]>", | ||
"addon_author": "Ibrahim Hamadeh <[email protected]>, Cary Rowen <[email protected]>, Belala Toufik<[email protected]>", | ||
# URL for the add-on documentation support | ||
"addon_url": "https://github.com/ibrahim-s/openLinkWith.git", | ||
# URL for the add-on repository where the source code can be found | ||
"addon_sourceURL": "https://github.com/ibrahim-s/openLinkWith.git", | ||
# Documentation file name | ||
"addon_docFileName": "readme.html", | ||
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional) | ||
"addon_minimumNVDAVersion": "2018.3.0", | ||
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version) | ||
"addon_lastTestedNVDAVersion": "2022.1.0", | ||
"addon_lastTestedNVDAVersion": "2023.1.0", | ||
# Add-on update channel (default is None, denoting stable releases, | ||
# and for development releases, use "dev".) | ||
# Do not change unless you know what you are doing! | ||
"addon_updateChannel": None, | ||
# Add-on license such as GPL 2 | ||
"addon_license": None, | ||
# URL for the license document the ad-on is licensed under | ||
"addon_licenseURL": None, | ||
} | ||
|
||
import os.path | ||
|
||
# Define the python files that are the sources of your add-on. | ||
# You can either list every file (using ""/") as a path separator, | ||
# or use glob expressions. | ||
|
@@ -55,7 +59,7 @@ def _(arg): | |
# pythonSources = ["addon/globalPlugins/*.py"] | ||
# For more information on SCons Glob expressions please take a look at: | ||
# https://scons.org/doc/production/HTML/scons-user/apd.html | ||
pythonSources = [os.path.join("addon", "globalPlugins", "OpenLinkWith", "*.py"), ] | ||
pythonSources = ["addon/globalPlugins/OpenLinkWith/*.py"] | ||
|
||
# Files that contain strings for translation. Usually your python sources | ||
i18nSources = pythonSources + ["buildVars.py"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters