Skip to content

Commit 10e50de

Browse files
committed
chore: rename
1 parent 2a37249 commit 10e50de

10 files changed

Lines changed: 7 additions & 5 deletions

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
default_install_hook_types: [pre-commit, commit-msg]
2+
13
repos:
24
- repo: https://github.com/pre-commit/pre-commit-hooks
35
rev: v6.0.0
@@ -50,10 +52,10 @@ repos:
5052
hooks:
5153
- id: enforce-conventional-commits
5254
name: checks commit message for conventional commits formatting
53-
entry: ./python_pre_commit_hooks/enforce_conventional_commits.py
55+
entry: ./python/enforce_conventional_commits.py
5456
language: python
5557
description: check commit message for conventional commits formatting
5658
stages: [commit-msg]
5759
always_run: false
5860
args:
59-
- --limit-to=hooks,python_pre_commit_hooks
61+
- --limit-to=python,shell

.pre-commit-hooks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
description: |
1313
The `terramate fmt` command is used to format Terramate configuration
1414
code.
15-
entry: hooks/terramate_fmt.sh
15+
entry: shell/terramate_fmt.sh
1616
language: script
1717
pass_filenames: false
1818

@@ -21,6 +21,6 @@
2121
description: |
2222
The `terramate generate` command is used to generate code from Terramate
2323
configuration.
24-
entry: hooks/terramate_generate.sh
24+
entry: shell/terramate_generate.sh
2525
language: script
2626
pass_filenames: false
File renamed without changes.

python_pre_commit_hooks/tests/test_enforce_conventional_commits.py renamed to python/tests/test_enforce_conventional_commits.py

File renamed without changes.
File renamed without changes.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exclude =
2020

2121
[options.entry_points]
2222
console_scripts =
23-
enforce-conventional-commits = python_pre_commit_hooks.enforce_conventional_commits:main
23+
enforce-conventional-commits = python.enforce_conventional_commits:main
2424

2525
[bdist_wheel]
2626
universal = True

0 commit comments

Comments
 (0)