OWASP-BLT / BLT

OWASP BLT is a bug logging tool to report issues and get points, organizations are held accountable.
https://blt.owasp.org
GNU Affero General Public License v3.0
132 stars 132 forks source link

Updated pre-commit so that it can run locally on every commit #2436

Closed nikhil25803 closed 2 months ago

nikhil25803 commented 2 months ago

Issue addressed - #2419

Screenshot : image

nikhil25803 commented 2 months ago

I am getting this error on running test cases. image

Related to poetry install. Error message - pyproject.toml changed significantly since poetry.lock was last generated. Runpoetry lock [--no-update]to fix the lock file.

nikhil25803 commented 2 months ago

@arkid15r Do I need to make changes in ci-cd.yml file to resolve this issue? image

Adding run: poetry lock before run: poetry install/

arkid15r commented 2 months ago

@arkid15r Do I need to make changes in ci-cd.yml file to resolve this issue? image

Adding run: poetry lock before run: poetry install/

No, just update your poetry.lock locally

nikhil25803 commented 2 months ago

I tried but still getting the same error

pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock [--no-update]` to fix the lock file.
Error: Process completed with exit code 1.

It worked!! Thanks @arkid15r