blob: c2863fe69335b7438513d1e0ba43aa1aedefe8f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# This file is meant to test that we can also load rules from __init__.py files, this was an issue with pypy before.
from gitlint.rules import CommitRule
class InitFileRule(CommitRule):
name = "my-init-cömmit-rule"
id = "UC1"
options_spec = []
def validate(self, _commit):
return [] # pragma: nocover
|