Skip to content

v0.8.5

Latest

Choose a tag to compare

@warith-harchaoui warith-harchaoui released this 25 Aug 03:58

Fixed

  • render_figures()/export_all() wrote SVG/PNG/export files non-atomically (plain open(path, "w")), so a crash or a concurrent reader (e.g. a dev-server auto-reloader watching the output directory) could observe or persist a truncated file. Both now write via a new _atomic_write() helper (temp file + os.replace).

Added

  • Pre-push git hook (.githooks/pre-push, git config core.hooksPath .githooks) delegating to the repo's own scripts/check.sh, so ruff check/ruff format --check/pytest failures are caught before reaching origin/main instead of only in CI.