Closed logan-pugh closed 4 years ago
This PR adds a config for the flake8 linter and fixes all the warnings and errors it indicated.
Also standardizes on single-quotes since it previously was using a mix of single and double quotes, and tweaks some whitespace/indentation.
The ignored rules in the .flake8 config file are as follows:
.flake8
Tip: If you use VS Code you can select flake8 from the Python: Select Linter command.
+1 I've a growing liking for Black and might add something like https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-using-black-and-flake8/ (though automation on a project this small is overkill ;-)
This PR adds a config for the flake8 linter and fixes all the warnings and errors it indicated.
Also standardizes on single-quotes since it previously was using a mix of single and double quotes, and tweaks some whitespace/indentation.
The ignored rules in the
.flake8
config file are as follows:Tip: If you use VS Code you can select flake8 from the Python: Select Linter command.