-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: GH actions pre-commit.ci fails on code base errors. #50
Comments
imAsparky
added this to To do
in Modify the original fork to suit my needs
via automation
Sep 5, 2021
imAsparky
changed the title
[BUG]: GH actions pre-commit fails on unpinned requirem
[BUG]: GH actions pre-commit fails on unpinned requirement.
Sep 5, 2021
imAsparky
added a commit
that referenced
this issue
Sep 5, 2021
Locally, the action below had not been included in the pre-commit yaml file; therefore, no failure occurred when running the pre-commit. - repo: https://github.com/Lucas-C/pre-commit-hooks-safety rev: v1.2.1 hooks: - id: python-safety-dependencies-check Update local pre-commit test suite with - id: python-safety-dependencies-check. Pin requirements_dev.txt cookiecutter==1.4.0. closes #50
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
The pre-commit.ci action is still failing. I have commented the check below out to see if the new failure stops. - repo: https://github.com/Lucas-C/pre-commit-hooks-safety rev: v1.2.1 hooks: - id: python-safety-dependencies-check WIP #50
I'm opening a new issue branch to work through all the pre-commit errors in the code base. |
imAsparky
changed the title
[BUG]: GH actions pre-commit fails on unpinned requirement.
[BUG]: GH actions pre-commit.ci fails on code base errors.
Sep 6, 2021
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
The pre-commit.ci action is still failing. I have commented the check below out to see if the new failure stops. - repo: https://github.com/Lucas-C/pre-commit-hooks-safety rev: v1.2.1 hooks: - id: python-safety-dependencies-check WIP #50
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
Add an escape character to fix yaml check failure. WIP #50
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
Some code that did not pass pre-commit checks existed. All pre-commit tests passed locally. closes #50
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
The pre-commit.ci action is still failing. I have commented the check below out to see if the new failure stops. - repo: https://github.com/Lucas-C/pre-commit-hooks-safety rev: v1.2.1 hooks: - id: python-safety-dependencies-check WIP #50
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
Several docstrings failed Codacy production tests as not complying with PEP257. WIP #50
imAsparky
added a commit
that referenced
this issue
Sep 6, 2021
Several additional docstrings failed Codacy production tests as not complying with PEP257. WIP #50
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
rev: v1.2.1
hooks:
- id: python-safety-dependencies-check
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: