nvda
572cfa9c - Refactor for cancellable speech (PR #11049)

Commit
5 years ago
Refactor for cancellable speech (PR #11049) Merge remote-tracking branch 'origin/pr/11049' PR #10885 introduces a way to cancel speech due to focus events that are no longer valid. However, the refactoring commits made the diff hard to view. Some static analysis tools did not understand several classes due to their order in the file. This change re-orders those classes so they are defined before they are used. It also makes that code pass the flake8 checks. The move and restyling are done in separate commits to make revisiting the changes easier. Turning off white space in the diff will also make this easier. - Speech manager changes: - Explicit imports - More typing information added to function definitions. - synthDriverHandler changes: - The order of classes. Now defined before they are used.
Author
Committer
Loading