diff --git a/README.md b/README.md index 20b7e0d..ce36dd7 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 ``` @@ -51,6 +51,7 @@ Alternatively, you can use ssh ### 1. Create virtual environment ```bash +source venv/bin/activate python3 -m venv venv ``` 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/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", 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