-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work on pre-commit hooks, small readme update. (#401)
Changes to pre-commit setup and to the `README.md` * Remove unused .prospector.yaml * Readme: add --tag-num option to update tag number * Flake8: add more plugins to better analyse the code: * `flake8-bugbear` for detecting bugs and potential design problems * `flake8-builtins` for verifying that builtins are not used as variable names * `flake8-comprehensions` for writing better and consistent comprehensions * `flake8-debugger` for checking that there are no forgotten breakpoints * `flake8-logging-format` for consistent logging * pep8-naming `for verifying that PEP8 naming conventions are followed` * `pyflakes` for checking source files for various errors * `ryceratops` to avoid exception anti-patterns * Add nbstripout hook to strip output from Jupyter and IPython notebooks * Changes requested by the pre-commit hooks: * Apply suggestions from flake8 * Fix an exception type: ValueError->TypeError * Fix TC003 * Fix TC101 errors Co-authored-by: Daniel Hollas <[email protected]> Co-authored-by: Jusong Yu <[email protected]>
- Loading branch information
1 parent
1a8a8cf
commit d48415a
Showing
16 changed files
with
113 additions
and
117 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 was deleted.
Oops, something went wrong.
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
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
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
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.