r/devsecops
Which static analysis tool should I add first to a small Python projects pipeline?
- upvotes
- 5
- comments
- 22
Post
Highlighted: the lines this signal was extracted from
okay I think I'll post this... I pulled on some of my DevOps notes and cobbled this together: I’m building out a CI pipeline for a small Python project and want to add static analysis in a sensible order rather than bolting everything on at once. Current setup (or planned):1 -pytest for tests2 - bandit for security-focused static checks3 - pip-audit for dependency vulnerabilities I’m trying to decide what to add next. Candidats I’m weighing: Semgrep CodeQL Ruff mypy or pyright SonarQube Context: single repo, small team, GitHub Actions, and I want low noise and fast runs so people doesn’t start ignoring findings. Questions: Which would you add first, and why? Anything you’d skip because it overlaps with bandit? Any tips for tuning findings early so the signal stays high? Thanks in advance.