Skip to content

Commit 5a0c199

Browse files
committed
chore: align default values with config
1 parent dae467f commit 5a0c199

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

commit_check/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444

4545
# Handle different default values for different rules
4646
DEFAULT_BOOLEAN_RULES = {
47-
"subject_capitalized": True,
48-
"subject_imperative": True,
47+
"subject_capitalized": False,
48+
"subject_imperative": False,
4949
"allow_merge_commits": True,
5050
"allow_revert_commits": True,
5151
"allow_empty_commits": True,

commit_check/imperatives.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"adjust",
1313
"aggregate",
1414
"allow",
15+
"align"
1516
"append",
1617
"apply",
1718
"archive",

docs/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Example Configuration
2525
[commit]
2626
# https://www.conventionalcommits.org
2727
conventional_commits = true
28-
subject_capitalized = true
29-
subject_imperative = true
28+
subject_capitalized = false
29+
subject_imperative = false
3030
# subject_max_length = 50 # Optional - no limit by default
3131
# subject_min_length = 5 # Optional - no limit by default
3232
allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore"]

0 commit comments

Comments
 (0)