Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Add config example
Browse files Browse the repository at this point in the history
  • Loading branch information
weastur committed Mar 17, 2021
1 parent f7a6287 commit d6c5d9d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pip3 install --user dikort

## File configuration

Refer to [config example](./dikort.cfg.example), as a full configuration file.
Refer to [config example](./dikort.example.cfg), as a full configuration file.

## Development Status

Expand Down
55 changes: 55 additions & 0 deletions dikort.example.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[main]
range = HEAD~1..HEAD
repository = ./

[logging]
enabled = no
format = %(levelname)s - %(asctime)s - %(filename)s:%(lineno)d - %(message)s
level = DEBUG
datefmt = %Y-%m-%d %H:%M:%S

[rules]
enable_length = no
enable_capitalized_summary = no
enable_trailing_period = no
enable_singleline_summary = no
enable_signoff = no
enable_gpg = no
enable_regex = no
enable_author_name_regex = no
enable_author_email_regex = no

[merge_rules]
enable_length = no
enable_capitalized_summary = no
enable_trailing_period = no
enable_singleline_summary = no
enable_signoff = no
enable_gpg = no
enable_regex = no
enable_author_name_regex = no
enable_author_email_regex = no

[rules.settings]
min_length = 10
max_length = 50
capitalized_summary = yes
trailing_period = no
singleline_summary = yes
signoff = yes
gpg = yes
regex = .*
author_name_regex = ^Pavel Sapezhko$
author_email_regex = ^me@weastur.com$

[merge_rules.settings]
min_length = 10
max_length = 50
capitalized_summary = yes
trailing_period = no
singleline_summary = yes
signoff = yes
gpg = yes
regex = .*
author_name_regex = ^Pavel Sapezhko$
author_email_regex = ^me@weastur.com$

0 comments on commit d6c5d9d

Please sign in to comment.