Added a pre-commit configuration for formatting (with black and isort) code, docstrings, Jupyter notebooks, and verifying workflows. Includes pyupgrade hook for autoformatting code to Python3.9 conventions. Configuration available for pre-commit.ci
Minor adjustments to strings, docstrings.
README badge for build now links to Actions page.
Comments
The pre-commit checks are currently failing due to flake8 and pydocstyle violations. I've added a handful of error overrides to the .pre-commit-config.yaml but I would encourage either adopting a setup.cfg or (ideally) pyproject.toml (see: https://peps.python.org/pep-0517/ and https://peps.python.org/pep-0621/) to manage code overrides. I can add something here if the authors would like.
Changes
black
andisort
) code, docstrings, Jupyter notebooks, and verifying workflows. Includespyupgrade
hook for autoformatting code to Python3.9 conventions. Configuration available for pre-commit.cibuild
now links toActions
page.Comments
The pre-commit checks are currently failing due to
flake8
andpydocstyle
violations. I've added a handful of error overrides to the.pre-commit-config.yaml
but I would encourage either adopting asetup.cfg
or (ideally)pyproject.toml
(see: https://peps.python.org/pep-0517/ and https://peps.python.org/pep-0621/) to manage code overrides. I can add something here if the authors would like.