Skip to content

Commit aab417d

Browse files
committed
CU-86b7kybxx - feat: update changelog and documentation for custom commands and branch validation in hooks
1 parent 4733623 commit aab417d

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.0.0] - 2024-12-10
8+
## [1.0.0] - 2025-12-11
99

1010
### Added
1111
- Initial release
12-
- `commit-msg` hook for Conventional Commits validation
13-
- `pre-commit` hook for PHPCS code quality (Drupal/WordPress)
14-
- `pre-push` hook for branch naming conventions
12+
- `commit-msg` hook for Conventional Commits validation (with ClickUp ID support)
13+
- `pre-commit` hook for custom commands (lint, type check, format)
14+
- `pre-push` hook for branch naming validation and custom commands (tests)
1515
- CLI commands: `install`, `uninstall`, `list`
1616
- Support for selective hook installation
1717
- Force overwrite option for existing hooks
18+
- Docker support for running commands in containers
19+
- File filtering with `only_for_files` option

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "dev-tools-hooks"
77
version = "1.0.0"
8-
description = "Git hooks for development workflow - Conventional Commits, PHPCS, and branch naming conventions"
8+
description = "Git hooks for development workflow - Conventional Commits, branch naming, and custom commands"
99
readme = "README.md"
1010
license = {text = "MIT"}
1111
requires-python = ">=3.8"
1212
authors = [
1313
{name = "Swapps", email = "dev@swapps.com"}
1414
]
15-
keywords = ["git", "hooks", "conventional-commits", "phpcs", "development"]
15+
keywords = ["git", "hooks", "conventional-commits", "development", "workflow"]
1616
classifiers = [
1717
"Development Status :: 4 - Beta",
1818
"Environment :: Console",

src/dev_tools_hooks/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
44
This package provides git hooks for:
55
- Conventional Commits validation (commit-msg)
6-
- PHPCS code quality checks for Drupal/WordPress (pre-commit)
7-
- Branch naming conventions (pre-push)
6+
- Custom commands for lint, type check, format (pre-commit)
7+
- Branch naming validation and custom commands (pre-push)
88
"""
99

1010
__version__ = "1.0.0"

src/dev_tools_hooks/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ def cmd_list(args: argparse.Namespace) -> int:
132132
print()
133133
print(f"{CYAN}Hook descriptions:{NC}")
134134
print(f" {BOLD}commit-msg{NC} - Validates Conventional Commits format")
135-
print(f" {BOLD}pre-commit{NC} - Runs PHPCS for Drupal/WordPress projects")
136-
print(f" {BOLD}pre-push{NC} - Validates branch naming conventions")
135+
print(f" {BOLD}pre-commit{NC} - Runs custom commands (lint, type check, format)")
136+
print(f" {BOLD}pre-push{NC} - Validates branch naming + runs custom commands")
137137

138138
return 0
139139

0 commit comments

Comments
 (0)