OpenCRE icon indicating copy to clipboard operation
OpenCRE copied to clipboard

Add pre-commit hooks

Open northdpole opened this issue 5 years ago • 2 comments

add pre commit hooks for black . mypy --strict --exclude venv/ . FLASK_APP=cre.py FLASK_CONFIG=test flask test | grep -i FAIL # there has to be a better way to ensure tests pass if [[ $(FLASK_APP=cre.py FLASK_CONFIG=test flask test --coverage | grep TOTAL | awk '{print $6}' | tr -d "%" ) -lt 70 ]] then exit 1 fi # there has to be a better way to ensure coverage

northdpole avatar Aug 30 '21 12:08 northdpole

hello @northdpole If work on this issue is still needed, could you please assign it to me? I’d be happy to take it on.

kart-u avatar Oct 30 '25 07:10 kart-u

Hi could you pls assign this issue to me, I'd would love to work on this....if its still available

sd2604 avatar Nov 12 '25 08:11 sd2604

Hi, If this issue still persists, could you please assign it to me? I’d be happy to take it on.

Neth766 avatar Feb 25 '26 18:02 Neth766

Hi is this issue still open . Kindly assign it to me

muskan013-byte avatar Feb 27 '26 10:02 muskan013-byte

Hi @northdpole,

Just checking in regarding Issue https://github.com/OWASP/OpenCRE/issues/13 (pre-commit hooks and failing checks). I opened a PR addressing this and incorporated the review feedback that was previously mentioned.

Whenever you have time, I’d appreciate it if you could take another look and let me know if the changes align with what you had in mind.

PR: https://github.com/OWASP/OpenCRE/pull/785 Thanks again for your guidance on this

Neth766 avatar Mar 14 '26 06:03 Neth766