-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Python SyntaxError checks, move to Python 3 (#811)
* Enable Flake8 check for SyntaxError: invalid syntax. * Fix syntax errors and move remaining code from Python 2 to Python 3. * Remove experimental newgui (completely replaced by the single window project). * Remove duplicate global ignore lines for Flake8 F811 (redefinition of unused). * Replace global ignore of Flake8 W605 (invalid escape sequence) by per-file ignores. * Define underscore as buildin as in core. * Add per-file ignores for F823 for boxplot code due to use of _ as unused. * Add exclude directories as in core. * Remove prints which are clearly debug-only (instead of updating to Python 3). * Fix typos in or close to modified code. * Enable Black for individually disabled files which had Python 2 syntax
- Loading branch information
1 parent
388c8b1
commit 3e6dc4c
Showing
27 changed files
with
115 additions
and
4,935 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
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
Oops, something went wrong.