Skip to content

V0.4.3

Version 0.4.3

This release includes several improvements to the pre-commit configuration, updates to various hook versions, and a new feature for project templates.

New Features

  • Pre-commit hooks are now installed before running in the release workflow, ensuring code style and other checks are applied automatically before a release is made (da8236d) (Eric Ma)
  • Added a pre-commit configuration for project templates, improving code quality and consistency in generated projects (79ddb4ae) (Eric Ma)
  • Disabled line length rule for markdown files, allowing for more flexibility in formatting (1d460a6) (Eric Ma)

Bug Fixes

  • Ensured pre-commit runs twice on failure in the GitHub Actions workflow, improving the robustness of the CI process (bd82cb2) (Eric Ma)
  • Corrected the project name variable in the template, ensuring consistency across the template configuration (0ec8186) (Eric Ma)
  • Fixed an issue with the __project_snakecase variable in cookiecutter.json to handle hyphens correctly (08beffb) (Eric Ma)

Deprecations

  • Replaced darglint with pydoclint for docstring linting in the pre-commit configuration (23a38b3) (Eric Ma)

Additionally, various hook versions have been updated to their latest versions to ensure compatibility and leverage improvements:

  • Pre-commit hooks: v4.6.0
  • Nbstripout: v0.7.1
  • Interrogate: v1.7.0
  • Pydoclint: v0.4.1
  • Ruff-pre-commit: v0.3.5

(2cd5474) (Eric Ma)

Please note that the version of pydoclint has been updated to v0.3.8 in the pre-commit configuration. (23a38b3) (Eric Ma)

Finally, the pre-commit hooks are now properly installed in the CI environment before running, preventing potential issues related to missing or misconfigured hooks. (3552315) (Eric Ma)