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
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.