Skip to content

Commit a5ea94f

Browse files
authored
fix: update default values to algin with configuration file (#313)
* chore: align default values with config * chore: fix by pre-commit
1 parent dae467f commit a5ea94f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"adjust",
1313
"aggregate",
1414
"allow",
15-
"append",
15+
"alignappend",
1616
"apply",
1717
"archive",
1818
"assert",

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)