Skip to content

Expand package lint scope - #7

Merged
bdestombe-pwn merged 3 commits into
modernize-ci-mock-databasefrom
review-ci-quality-scope
Jun 2, 2026
Merged

bdestombe-pwn merged 3 commits into
modernize-ci-mock-databasefrom
review-ci-quality-scope

Conversation

@bdestombe-pwn

@bdestombe-pwn bdestombe-pwn commented Jun 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Expand ruff and ty CI/developer commands to check dawacotools and tests.
  • Implement package typing fixes so uv run ty check dawacotools tests --ignore unused-ignore-comment passes.
  • Remove the package-wide ruff baseline entirely; ruff.toml now keeps only test-specific ignores for D, PLR2004, and S101.
  • Modernize low-risk formatting/lint issues in analysis, colors, I/O, Plenty, and plotting modules, including replacing package asserts with explicit exceptions and validating dynamic SQL identifiers.

Validation

  • uv run pytest tests -n0 -> 47 passed, 3 skipped
  • uv run ruff format --diff dawacotools tests
  • uv run ruff check dawacotools tests
  • uv run ty check dawacotools tests --ignore unused-ignore-comment
  • uv run validate-pyproject pyproject.toml
  • git diff --check

Note: Prettier could not be run locally because no Node.js/npm/npx executable is installed in this environment.

@bdestombe-pwn
bdestombe-pwn merged commit e629445 into modernize-ci-mock-database Jun 2, 2026
3 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