imAsparky / cookiecutter-py3-package

Use cookiecutter to create your own Python 3 PyPi package, complete with popular code quality tracking tools and utilising GitHub Actions for Continuous Delivery.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[BUG]: GH actions pre-commit.ci fails on code base errors. #50

Closed imAsparky closed 3 years ago

imAsparky commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

cookiecutter>=1.4.0 in requirements_dev.txt was causing the pre-commit hook - id: python-safety-dependencies-check to fail when GitHub actions.

To Reproduce Steps to reproduce the behavior:

Locally, the action below had not been included in the pre-commit yaml file, so there was no failure when running the pre-commit.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

imAsparky commented 3 years ago

I'm opening a new issue branch to work through all the pre-commit errors in the code base.