blob: 32c05fc8f7157791d105febf4785f6b2d59e777b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# -*- coding: utf-8 -*-
# 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 = u"my-init-cömmit-rule"
id = "UC1"
options_spec = []
def validate(self, _commit):
return []
|