Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
```
Expand All @@ -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
```
Expand All @@ -51,6 +51,7 @@ Alternatively, you can use ssh
### 1. Create virtual environment

```bash
source venv/bin/activate
python3 -m venv venv
```

Expand Down
2 changes: 1 addition & 1 deletion git_hooks/commit_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
"""
Expand Down
2 changes: 2 additions & 0 deletions git_hooks/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@

commit_type_regex: str = f"(?:{'|'.join(commit_types.keys())})"
teams: list[str] = [
"ABN",
"ATL",
"CET",
"DEL",
"FE",
"INF",
"KNA",
"L2",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "git-hooks"
version = "24.07.26"
version = "24.11.29"
dependencies = [
"gql[requests]==3.4.1",
]
Expand All @@ -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
Expand Down