GitGuardian / ggshield

Find and fix 360+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
https://gitguardian.com
MIT License
1.57k stars 138 forks source link

Update pygitguardian and pipenv #907

Closed agateau-gg closed 1 month ago

agateau-gg commented 1 month ago

Context

pygitguardian recently received some error handling improvements. This PR makes ggshield use them.

What has been done

Update pygitguardian, also update pipenv so that locking does not fail if there is a .venv directory in the project directory.

Validation

Point ggshield to a server which returns an HTTP response without the Content-Type header, it no longer crashes.