From 97b35246f45b5a961761253b3c341a7254e6999f Mon Sep 17 00:00:00 2001 From: Dima Dorogonov <178141177+Dorogonov@users.noreply.github.com> Date: Fri, 29 Nov 2024 09:49:39 +0000 Subject: [PATCH 1/3] KNA-1228/feat: added FE and ABN ticket prefixes --- git_hooks/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git_hooks/common.py b/git_hooks/common.py index bd702bf..6c01d5b 100644 --- a/git_hooks/common.py +++ b/git_hooks/common.py @@ -32,9 +32,11 @@ commit_type_regex: str = f"(?:{'|'.join(commit_types.keys())})" teams: list[str] = [ + "ABN", "ATL", "CET", "DEL", + "FE", "INF", "KNA", "L2", From c5f6b79009ac357c5054aa1915280445439d894b Mon Sep 17 00:00:00 2001 From: Dima Dorogonov <178141177+Dorogonov@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:07:57 +0000 Subject: [PATCH 2/3] Bump version 24.07.26 -> 24.11.29 --- README.md | 6 +++--- git_hooks/commit_msg.py | 2 +- pyproject.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 20b7e0d..3103b8b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ To only check for a reference to a Linear issue in your commit message, add this ```yaml # .pre-commit-config.yaml - repo: https://github.com/two-inc/git-hooks.git - rev: 24.07.26 + rev: 24.11.29 hooks: - id: linear-ref ``` @@ -31,7 +31,7 @@ this: ```yaml # .pre-commit-config.yaml - repo: https://github.com/two-inc/git-hooks.git - rev: 24.07.26 + rev: 24.11.29 hooks: - id: commit-type-with-linear-ref ``` @@ -41,7 +41,7 @@ Alternatively, you can use ssh ```yaml # .pre-commit-config.yaml - repo: git@github.com:two-inc/git-hooks.git - rev: 24.07.26 + rev: 24.11.29 hooks: - id: commit-type-with-linear-ref ``` diff --git a/git_hooks/commit_msg.py b/git_hooks/commit_msg.py index 32f37b0..d15ac6d 100644 --- a/git_hooks/commit_msg.py +++ b/git_hooks/commit_msg.py @@ -21,7 +21,7 @@ T-5482/feat: Amazing new feature -See https://github.com/two-inc/git-hooks/blob/24.07.26/README.md for more info. +See https://github.com/two-inc/git-hooks/blob/24.11.29/README.md for more info. {ENDC} {common.commit_types_doc} """ diff --git a/pyproject.toml b/pyproject.toml index 57d06a6..6652caf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "git-hooks" -version = "24.07.26" +version = "24.11.29" dependencies = [ "gql[requests]==3.4.1", ] @@ -18,7 +18,7 @@ prepare-commit-msg = "git_hooks.prepare_commit_msg:main" commit-msg = "git_hooks.commit_msg:main" [tool.bumpver] -current_version = "24.07.26" +current_version = "24.11.29" version_pattern = "0Y.0M.0D[-INC0]" commit_message = "Bump version {old_version} -> {new_version}" commit = true From dbe0bae4719bae2f3348624709aa752d0fe966a0 Mon Sep 17 00:00:00 2001 From: Dima Dorogonov <178141177+Dorogonov@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:28:06 +0000 Subject: [PATCH 3/3] KNA-1128/chore: extended Readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3103b8b..ce36dd7 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Alternatively, you can use ssh ### 1. Create virtual environment ```bash +source venv/bin/activate python3 -m venv venv ```