Skip to content

Conversation

@seanbudd
Copy link
Contributor

@seanbudd seanbudd commented May 26, 2025

  • updates the .vscode/settings.json file to reflect the changes we have made to linting and typechecking.
  • symbols are renamed from snake case to camel case in addon/globalPlugin/MathCAT/*.py in order to conform to NVDA's naming conventions.

RyanMcCleary and others added 8 commits May 26, 2025 10:19
This PR updates the .vscode/settings.json file to reflect the changes we have made to linting and typechecking.
In this PR, symbols are renamed from snake case to camel case in addon/globalPlugin/MathCAT/*.py in order to conform to NVDA's naming conventions.
The PR changes all of the names of methods in MathCAT.py, MathCATPreferences.py, and MathCATgui.py to lowerCamelCase
@NSoiffer NSoiffer merged commit 2b26cda into NSoiffer:main May 30, 2025
@nvdaes
Copy link
Collaborator

nvdaes commented May 31, 2025

Thanks Neil and Sean. I'm starting to use settings (Pyproject, .vscode and .precommit.yaml) based on this for add-ons, and it's the first time that addonHandler and other imports are well recognized and can be used for autocompletion. Just to credit this work as elpful for other add-ons. Even I'm seing deprecations reported in Visual Studio Code, like the usage of List or Dict as type hints.
Amazing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants