-
-
Notifications
You must be signed in to change notification settings - Fork 662
LintWithFlake8
For many years, NV Access and the NVDA community have received hundreds of pull requests from many contributors, including new features, bug fixes, and translations. While many pull request discussion centered around implementation, there were several that needed to be edited to make the new code compliant with NVDA's coding guidelines.
In 2019, as part of a broader effort to port NVDA to Python 3 and to ease pull request review process, NV Access introduced linting tools, specifically Flake8. Linting allows source code to be checked for coding guidelines and bives a chance for contributors to correct mistakes before submitting changes for review by the community.
Although NVDA's general coding style is documented in NVDA developer guide, this page aims to document some gotchas when contributors use code to be checked by Flake8 before submitting pull requests.
Todo: fill the rest of this page with notes from contributors on Flake8 error codes and edits done to source code.
- FAQ
- Application Support
- Connect
- Guides
- Extra Voices
- Log Files And Crash Dumps
- Log Levels (move to userguide / delete?)
This section will be moved to the NVDA repository as a priority
- Internals
- Notes Adding support for aria attributes to browsers
- Using COM with NVDA and Microsoft Word