Skip to content

Modernize CI and DAWACO mock database testing#6

Merged
bdestombe merged 4 commits into
bdestombe:mainfrom
bdestombe-pwn:modernize-ci-mock-database
Jun 2, 2026
Merged

Modernize CI and DAWACO mock database testing#6
bdestombe merged 4 commits into
bdestombe:mainfrom
bdestombe-pwn:modernize-ci-mock-database

Conversation

@bdestombe-pwn

Copy link
Copy Markdown
Contributor

Summary

  • modernize project metadata and CI around Hatchling, uv, Python 3.12+, Ruff, ty, validate-pyproject, and Prettier
  • strengthen the fully synthetic DAWACO SQLite test database with metadata and a CLI builder
  • add opt-in private mock database pytest mode plus regression tests for database configuration paths

Validation

  • uv run pytest tests
  • Python 3.12 minimum-dependency tests with uv sync --extra test --resolution lowest-direct --python 3.12 and uv run pytest tests -n0
  • uv run ruff check tests dawacotools\__init__.py
  • uv run ruff format dawacotools tests --check
  • uv run ty check tests
  • uv run validate-pyproject pyproject.toml
  • uv build

- migrate project metadata to Hatchling and Python 3.12+
- add CI matrix and lint/type/metadata validation gates
- add synthetic mock database metadata, CLI, private DB mode, and regression tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codacy-production

codacy-production Bot commented Jun 2, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 9 high · 91 minor

Alerts:
⚠ 100 issues (≤ 0 issues of at least minor severity)

Results:
100 new issues

Category Results
BestPractice 10 minor
Security 9 high
CodeStyle 81 minor

View in Codacy

🟢 Metrics 19 complexity · 0 duplication

Metric Results
Complexity 19
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

bdestombe and others added 3 commits June 2, 2026 10:11
…ng roles, operating principles, and methods for evaluating code and tests. Include guidelines for meaningful tests and emphasize the importance of empirical evidence in verifying correctness.
- ignore pre-existing Copilot instruction markdown in Prettier
- apply Prettier formatting to README

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- configure Prettier to accept checkout-native line endings
- allow the Prettier config through root JSON ignores

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bdestombe bdestombe merged commit ef371a7 into bdestombe:main Jun 2, 2026
3 of 4 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