Skip to content

Commit 81324ad

Browse files
committed
docs(README) Update default max summary length
1 parent 0888574 commit 81324ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The script supports additional parameters to customize its behavior:
4141

4242
- `--subject-min-length`: Minimum length of the 'Summary' field in commit message. Defaults to `20`.
4343

44-
- `--subject-max-length`: Maximum length of the 'Summary' field in commit message. Defaults to `50`.
44+
- `--subject-max-length`: Maximum length of the 'Summary' field in commit message. Defaults to `72`.
4545

4646
- `--body-max-line-length`: Maximum length of a line in the commit message body. Defaults to `100`.
4747

@@ -108,7 +108,7 @@ pytest
108108
```
109109
... or create a content in file `test_message.txt` and run:
110110
```sh
111-
python -m conventional_precommit_linter.hook --subject-min-length 20 --subject-max-length 50 --body-max-line-length 100 test_message.txt
111+
python -m conventional_precommit_linter.hook --subject-min-length 20 --subject-max-length 72 --body-max-line-length 100 test_message.txt
112112
```
113113

114114
.... or (with default arguments):

0 commit comments

Comments
 (0)