Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

ci: full 6DQ L0+L1+G1 setup#2

Merged
nocoo merged 7 commits into
mainfrom
fix/6dq-tier-b
Apr 15, 2026
Merged

ci: full 6DQ L0+L1+G1 setup#2
nocoo merged 7 commits into
mainfrom
fix/6dq-tier-b

Conversation

@nocoo
Copy link
Copy Markdown
Owner

@nocoo nocoo commented Apr 15, 2026

Adds pre-commit hooks, CI workflow (Python), ruff lint, pytest-cov thresholds, and G2 security configs.

6DQ compliance: L0+L1+G1+G2 → enables Tier B.

nocoo and others added 7 commits April 16, 2026 06:18
- Add pyproject.toml with ruff lint rules (strict selection including
  pyflakes, pycodestyle, isort, bugbear, bandit, simplify)
- Fix f-strings without placeholders (F541)
- Remove unused imports in tests (F401)
- Fix line-too-long issues (E501)
- Apply ruff formatting to all Python files
- Use list unpacking instead of concatenation (RUF005)
- Add tests/test_run.py covering the universal runner script
- pytest-cov configured with 90% fail-under threshold in pyproject.toml
- Total coverage: 91% (58 tests passing)
- Add .githooks/pre-commit running ruff check, ruff format, and pytest
- Add .github/workflows/ci.yml for push/PR/manual triggers
- CI runs on Python 3.11 with lint, format check, and test steps
- Install hooks via: git config core.hooksPath .githooks
- Add .gitleaks.toml with allowlist for example config and tests
- Add osv-scanner.toml for dependency vulnerability scanning
…ermissions

- Add Makefile with `make setup` to configure core.hooksPath for .githooks
- Add gitleaks and osv-scanner jobs to CI workflow
- Add top-level `permissions: contents: read` for least-privilege
- Document hook setup in Contributing section of README
Update comment to mention both manual git config command and the
make setup shortcut, so contributors discover the opt-in step.
@nocoo nocoo merged commit a095190 into main Apr 15, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant