diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc947c0..2e0876e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,3 +46,11 @@ repos: - id: prettier types_or: [yaml, json, xml, markdown, scss, javascript] exclude: courts\.md + + - repo: https://github.com/commitizen-tools/commitizen + rev: v3.29.0 + hooks: + - id: commitizen + - id: commitizen-branch + stages: + - push diff --git a/CHANGELOG.md b/CHANGELOG.md index 580b464..1c16288 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## v1.5.7 (2024-09-23) + +### Fix + +- **FCL-299**: remove incorrect end_year values for courts + ## [Release 1.5.6] - Change Crown Courts to EWCRC diff --git a/pyproject.toml b/pyproject.toml index 34cd145..7626658 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ds_caselaw_utils" -version = "1.5.6" +version = "1.5.7" description = "Utilities for the National Archives Caselaw project" authors = ["Nick Jackson ", "David McKee ", "Tim Cowlishaw ", "Laura Porter "] license = "MIT" @@ -39,6 +39,13 @@ unfixable = ["ERA"] # PD, NPY, AIR: ignored, panda / numpy / airflow specific # FURB: not yet out of preview + +[tool.commitizen] +name = "cz_conventional_commits" +tag_format = "v$version" +version_scheme = "pep440" +version_provider = "poetry" +update_changelog_on_bump = true [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"