From 200e9eb4f513faf36fe1cfa9f9c2dfbc39761458 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Tue, 25 Jun 2024 11:23:22 +0200 Subject: [PATCH] chore: :wrench: initialize cz and pre-commit hooks --- .pre-commit-config.yaml | 8 ++++++++ cz.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 .pre-commit-config.yaml create mode 100644 cz.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f1e7565 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: +- hooks: + - id: commitizen + - id: commitizen-branch + stages: + - push + repo: https://github.com/commitizen-tools/commitizen + rev: v3.16.0 diff --git a/cz.yaml b/cz.yaml new file mode 100644 index 0000000..b823e32 --- /dev/null +++ b/cz.yaml @@ -0,0 +1,8 @@ +--- +commitizen: + major_version_zero: true + name: cz_conventional_commits + tag_format: $version + update_changelog_on_bump: true + version: 0.0.1 + version_scheme: semver