Skip to content

Align toolchain: standard Makefile targets, pre-commit, pyproject.toml#2

Merged
hunterdsp merged 1 commit into
mainfrom
chore/toolchain-alignment
Jun 20, 2026
Merged

Align toolchain: standard Makefile targets, pre-commit, pyproject.toml#2
hunterdsp merged 1 commit into
mainfrom
chore/toolchain-alignment

Conversation

@hunterdsp

Copy link
Copy Markdown
Contributor

Summary

  • Rewrite Makefile with standard convention: test (bats), test-fast (bats --abort), lint, docs, docs-serve, clean, help
  • Rewrite .pre-commit-config.yaml: shellcheck-py, shfmt (pre-built hook, not shfmt-src), mdformat; remove ruff (no Python source)
  • Add zensical>=0.0.29 to dev deps in pyproject.toml

Test plan

  • make lint passes
  • make test runs bats suite
  • make docs builds the site

🤖 Generated with Claude Code

Makefile:
- Add test-fast (bats --abort), docs, docs-serve, help targets
- lint now runs pre-commit run --all-files (was shellcheck directly)
- Introduce UV var; section headers; clean removes site/

.pre-commit-config.yaml:
- Drop ruff (no Python source files)
- Use shfmt pre-built binary (not shfmt-src, no Go required)
- Add pre-commit-hooks (check-yaml, end-of-file-fixer, trailing-whitespace, etc.)
- Add mdformat with gfm/mkdocs plugins
- Standardise formatting

pyproject.toml:
- Add zensical>=0.0.29 (python>=3.10) to dev deps

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hunterdsp hunterdsp merged commit 100190b into main Jun 20, 2026
11 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