feat: implement issue #504 — SonarCloud: miscellaneous findings
DO
12d ago+11+11+01234567890123456789-7-7-0123456789
Problem
SonarCloud: miscellaneous findings
From the issue: 7 open SonarCloud finding(s) in petry-projects/markets, worst severity MAJOR. Generated by the org SonarCloud Audit.
Risk
Low — 1 file(s) changed; no CI- or runtime-critical paths touched.
Test plan
No test files were added or updated. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the existing CI (bats + lint) guards the change.
Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
This PR's CI checks (Lint + bats) are the success/regression signal.
Closes #504