Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is not aspirational. This is a hard requirement. If you push code that fail

## Thresholds (non-negotiable)

- **Issues on all providers:** 0 (SonarCloud, CodeQL, QLTY, DeepSource, DeepScan, Sentry)
- **Issues on all providers:** 0 (SonarCloud, CodeQL, QLTY, DeepSource, Sentry)
- **Coverage:** 100% line AND branch (Codecov, SonarCloud)
- **Security alerts:** 0 (Dependabot, CodeQL, Semgrep)
- **Suppressions:** FORBIDDEN. No `// NOSONAR`, no `#pragma warning disable`, no `# noqa`, no `[SuppressMessage]`. Fix the code.
Expand Down
2 changes: 1 addition & 1 deletion docs/quality/QUALITY_ZERO_GATES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This repository is configured for strict quality enforcement:

- Coverage target: 100% (project + patch)
- Mandatory zero-open findings: Sonar, Codacy, Semgrep, Sentry, DeepScan
- Mandatory zero-open findings: Sonar, Codacy, Semgrep, Sentry
- Fail-closed secrets preflight
- Aggregated required-context assertion via `Quality Zero Gate`

Expand Down
3 changes: 1 addition & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ ignore = ["E501"]
# E402 (module-level import not at top): these SaaS-zero check scripts insert the
# repo's helper dir onto sys.path before importing security_helpers — a
# deliberate bootstrap pattern. The scripts are slated for removal in the lean-
# gate migration runbook (they back the deleted Sonar/Sentry/Codacy/DeepScan
# gate migration runbook (they back the deleted Sonar/Sentry/Codacy
# gates); ignoring E402 here avoids churning soon-to-be-deleted code.
"scripts/quality/check_sentry_zero.py" = ["E402"]
"scripts/quality/check_sonar_zero.py" = ["E402"]
"scripts/quality/check_codacy_zero.py" = ["E402"]
"scripts/quality/check_deepscan_zero.py" = ["E402"]
195 changes: 0 additions & 195 deletions scripts/quality/check_deepscan_zero.py

This file was deleted.

118 changes: 0 additions & 118 deletions tests/python/test_check_deepscan_zero.py

This file was deleted.

1 change: 0 additions & 1 deletion tests/python/test_helper_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

MODULES = [
"scripts/quality/check_codacy_zero.py",
"scripts/quality/check_deepscan_zero.py",
"scripts/quality/check_sentry_zero.py",
"scripts/quality/check_sonar_zero.py",
]
Expand Down
6 changes: 0 additions & 6 deletions tests/python/test_network_request_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from conftest import load_script_module

codacy = load_script_module("scripts/quality/check_codacy_zero.py", "check_codacy_zero_net")
deepscan = load_script_module("scripts/quality/check_deepscan_zero.py", "check_deepscan_zero_net")
sentry = load_script_module("scripts/quality/check_sentry_zero.py", "check_sentry_zero_net")
sonar = load_script_module("scripts/quality/check_sonar_zero.py", "check_sonar_zero_net")
required = load_script_module(
Expand Down Expand Up @@ -60,11 +59,6 @@ def test_codacy_request_json_post_with_data(monkeypatch) -> None:
assert captured[0].data is not None


def test_deepscan_request_json(monkeypatch) -> None:
_patch_urlopen(monkeypatch, deepscan, _Resp(json.dumps({"count": 0}).encode()))
assert deepscan._request_json("https://api.deepscan.io/x", "tok") == {"count": 0}


def test_sonar_request_json(monkeypatch) -> None:
_patch_urlopen(monkeypatch, sonar, _Resp(json.dumps({"paging": {"total": 0}}).encode()))
assert sonar._request_json("https://sonarcloud.io/api/x", "auth") == {"paging": {"total": 0}}
Expand Down
13 changes: 0 additions & 13 deletions tools/quality/assert-deepscan-zero-backlog.ps1

This file was deleted.

Loading
Loading