You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make CI lint and security scans fail the build #18
Hi @OkiriGabriel, I'd like to work on this in small PRs so each is easy to review, starting with the lowest-risk items:
Remove continue-on-error from the Flake8 step (it only selects E9,F63,F7,F82; I'll confirm it's clean on main first).
Replace the || echo "Expected to fail gracefully" webhook steps with assertions on HTTP status codes and response shape.
Two questions before I touch the rest:
Black: in the latest CI run, black --check . reports 81 files that would be reformatted (18 unchanged), so gating it as-is would fail every PR. Would you prefer a one-time reformat commit, gating only the files a PR changes, or leaving Black non-blocking for now?
Safety: would you rather keep Safety (I'd need to check how its CLI currently handles severity) or would you accept pip-audit for the dependency check?
Thanks @OpeyemiAdeniji, the plan of small PRs sounds good. #86 (blocking Flake8) is approved. Go ahead with the webhook-assertion PR next. I'll follow up here on Black and Safety.
Activity
OpeyemiAdeniji commentedon Oct 16, 2026
Hi @OkiriGabriel, I'd like to work on this in small PRs so each is easy to review, starting with the lowest-risk items:
continue-on-errorfrom the Flake8 step (it only selectsE9,F63,F7,F82; I'll confirm it's clean on main first).|| echo "Expected to fail gracefully"webhook steps with assertions on HTTP status codes and response shape.Two questions before I touch the rest:
black --check .reports 81 files that would be reformatted (18 unchanged), so gating it as-is would fail every PR. Would you prefer a one-time reformat commit, gating only the files a PR changes, or leaving Black non-blocking for now?pip-auditfor the dependency check?OkiriGabriel commentedon Oct 19, 2026
Thanks @OpeyemiAdeniji, the plan of small PRs sounds good. #86 (blocking Flake8) is approved. Go ahead with the webhook-assertion PR next. I'll follow up here on Black and Safety.
chore(ci): make Flake8 critical-error check blocking
test(ci): assert status codes and response shape for /webhook/manual
test(ci): assert responses for the remaining /webhook/* routes