What's Changed
New
- Added a
CLAUDE.mdwith non-obvious gotchas for working on the project with Claude Code
Improvements
- Raised the minimum supported Python version to 3.14, and updated Python to version 3.14.8
- Removed Lefthook from the development dependencies, so it's now installed separately alongside dprint
- Replaced the Build workflow with a CI workflow that runs the Lefthook pre-commit hook across all files in place of the separate dependency, formatting, and lint checks, before testing and building the package
- Made the pre-commit hook fail when a job modifies files through Lefthook's
fail_on_changes, replacing thegit diffcheck job, and renamedlefthook.ymltolefthook.yaml - Formatted Python files with the project's own Ruff in a separate pre-commit job instead of dprint's Ruff plugin, and reordered the hook to fix lint before formatting
- Measured test coverage only for code the tests run, removing the
sourcesetting and the__main__.pycoverage exclusion - Ignored Ruff's
CPY001rule, which would otherwise require a copyright notice in every file - Renamed the placeholder
sequence.pyand its test tofibonacci.pyandtest_fibonacci.py, and reworkedfibonacci_sequenceto match Node.js Starter and Rust Starter: it now fillsnones and sums each term from the third onward, and its docstring documents that behavior - Reworded the module docstrings to mark the library and CLI as template placeholders
- Started the package version from 0.1.0 instead of 0.0.0
- Reworded the package description to "An example library and CLI for generating a Fibonacci sequence", replaced the
examplekeyword withsequence, and added theTopic :: Scientific/Engineering :: Mathematicsclassifier - Rewrote the README into a shorter guide covering setup, customization, development, and releasing
- Made the
.gitignorerules for dot-prefixed files more specific, marked directory rules with a trailing slash, and removed the unused*.egg-inforule - Removed the Dependabot commit message prefix and label configuration
Dependency Updates
actions/checkoutbumped from 5.0.0 to 7.0.1astral-sh/setup-uvbumped from 6.6.1 to 10.2.0dprint-plugin-jsonbumped from 0.20.0 to 0.25.2dprint-plugin-markdownbumped from 0.19.0 to 0.26.0dprint-plugin-pretty-yamlbumped from 0.5.1 to 0.6.0dprint-plugin-tomlbumped from 0.7.0 to 0.9.0pytestbumped from 8.4.2 to 9.1.1pytest-covbumped from 7.0.0 to 7.1.0ruffbumped from 0.13.0 to 0.16.10
Full Changelog: v2.1.0...v3.0.0