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
catch the specific exceptions, or keep the broad catch and log it with a one-line comment saying why
S110try/except/pass (2)
src/secfoo/runner.py
log at debug level instead of swallowing silently
PLW1510subprocess.run without check (4)
src/secfoo/mcp.py (3), runner.py
pass check=False explicitly; the code already checks returncode
PYI034
src/secfoo/storage/repository.py
return Self
RUF046
src/secfoo/web/dashboard_common.py
drop the redundant int()
EXE001
scripts/sync_design_system.py
chmod +x, or remove the shebang
Done when:ruff check src scripts reports none of these rules, behaviour is unchanged (pytest tests passes), and each remaining broad except has a comment explaining why it stays.
Activity
fix(lint): resolve the error-handling ruff findings in src (secfoo-co…