Skip to content

Add lint and a coverage floor to CI - #9

Merged
Yanir-R merged 1 commit into
mainfrom
claude/project-thread-gzszoa
Nov 12, 2026
Merged

Yanir-R merged 1 commit into
mainfrom
claude/project-thread-gzszoa

Conversation

@Yanir-R

@Yanir-R Yanir-R commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Requested by Yanir

What changed

Continues the code-quality pass (after #8). Adds a quality CI job that runs ruff check . and the full test suite under coverage, failing below a 90% floor (current: 95% on the package). Config lives in pyproject.toml: ruff rules E, F, I, UP, B, line length 130, line-length ignored in tests. 15 existing findings were fixed mechanically (unused imports, import order and collections.abc, quoted annotations, one % format). No behaviour change; the existing unittest matrix job is untouched. CONTRIBUTING.md lists the two local commands.

Why

Tests existed at every stage but nothing enforced style or kept coverage from slipping. This makes both automatic without adding runtime dependencies (tools are installed only in CI).

How to verify

Locally: ruff check . and python -m coverage run -m unittest discover -s tests -t . && python -m coverage report. The new quality job runs both.

Checklist

  • Every commit is signed off (git commit -s), see CONTRIBUTING.md (repository owner is exempt from the DCO check)
  • No personal data, real paths, hostnames or credentials in code, tests, fixtures or docs
  • Test fixtures use invented data only
  • No duplicated logic; the change respects the module boundaries in docs/ARCHITECTURE.md
  • Docs updated if behavior or privacy claims changed

Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014dGcvWfLM1jgD3wM8CioEz
@Yanir-R Yanir-R self-assigned this Nov 12, 2026
@Yanir-R
Yanir-R merged commit e40002a into main Nov 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants