Skip to content

feat: harden config/logging and add mypy + coverage tooling#1

Merged
k0te1ch merged 2 commits into
mainfrom
feat/quality-tooling
Jun 4, 2026
Merged

feat: harden config/logging and add mypy + coverage tooling#1
k0te1ch merged 2 commits into
mainfrom
feat/quality-tooling

Conversation

@k0te1ch

@k0te1ch k0te1ch commented Jun 4, 2026

Copy link
Copy Markdown
Owner

What

Quality-tooling batch (independent of the release-please migration in #2):

  • Config hardeninglog_level validator (rejects unknown levels), SettingsConfigDict instead of raw dict.
  • Logging — add a console StreamHandler alongside the file handler.
  • Entry point — use the shared settings instance and model_dump() (drop deprecated .dict()).
  • Tooling — add mypy + ruff-format pre-commit hooks; mypy, pytest-cov and coverage config in pyproject.toml; bump ruff to ^0.15.
  • CIpython-app.yml installs via Poetry with cache, matrix 3.12 + 3.13.
  • Tests — cover main() end-to-end and invalid-log-level rejection.

Notes

First of two stacked PRs. Merge this before #2 (release-please migration), which is branched on top of it.

@k0te1ch k0te1ch merged commit 46ea286 into main Jun 4, 2026
2 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.

1 participant