summaryrefslogtreecommitdiffstats
path: root/gitlint-core/gitlint/tests/samples/user_rules/parent_package/my_commit_rules.py
blob: f91cb076d6c21cffd8f56b10375c71f66cf28937 (plain)
1
2
3
4
5
6
7
8
9
10
from gitlint.rules import CommitRule


class MyUserCommitRule(CommitRule):
    name = "my-user-cömmit-rule"
    id = "UC2"
    options_spec = []

    def validate(self, _commit):
        return []