GitGuardian / ggshield

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

Update Black to 24.3.0 #868

Closed agateau-gg closed 3 months ago

agateau-gg commented 3 months ago

Update Black to 24.3.0 to fix CVE-2024-21503.

This required disabling E704 in flake8. That seems to be expected: https://github.com/psf/black/issues/3887.

Needs #867 for CI to be green.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.90%. Comparing base (8812987) to head (1004aaf).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #868 +/- ## ========================================== + Coverage 91.81% 91.90% +0.08% ========================================== Files 170 170 Lines 7066 7058 -8 ========================================== - Hits 6488 6487 -1 + Misses 578 571 -7 ``` | [Flag](https://app.codecov.io/gh/GitGuardian/ggshield/pull/868/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GitGuardian) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/GitGuardian/ggshield/pull/868/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GitGuardian) | `91.90% <100.00%> (+0.08%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=GitGuardian#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.