github threeal/python-starter v3.0.0
Version 3.0.0

4 hours ago

What's Changed

New

  • Added a CLAUDE.md with 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 the git diff check job, and renamed lefthook.yml to lefthook.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 source setting and the __main__.py coverage exclusion
  • Ignored Ruff's CPY001 rule, which would otherwise require a copyright notice in every file
  • Renamed the placeholder sequence.py and its test to fibonacci.py and test_fibonacci.py, and reworked fibonacci_sequence to match Node.js Starter and Rust Starter: it now fills n ones 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 example keyword with sequence, and added the Topic :: Scientific/Engineering :: Mathematics classifier
  • Rewrote the README into a shorter guide covering setup, customization, development, and releasing
  • Made the .gitignore rules for dot-prefixed files more specific, marked directory rules with a trailing slash, and removed the unused *.egg-info rule
  • Removed the Dependabot commit message prefix and label configuration

Dependency Updates

  • actions/checkout bumped from 5.0.0 to 7.0.1
  • astral-sh/setup-uv bumped from 6.6.1 to 10.2.0
  • dprint-plugin-json bumped from 0.20.0 to 0.25.2
  • dprint-plugin-markdown bumped from 0.19.0 to 0.26.0
  • dprint-plugin-pretty-yaml bumped from 0.5.1 to 0.6.0
  • dprint-plugin-toml bumped from 0.7.0 to 0.9.0
  • pytest bumped from 8.4.2 to 9.1.1
  • pytest-cov bumped from 7.0.0 to 7.1.0
  • ruff bumped from 0.13.0 to 0.16.10

Full Changelog: v2.1.0...v3.0.0

Don't miss a new python-starter release

NewReleases is sending notifications on new releases.