Skip to content

Commit ff7eee5

Browse files
fix: fix type mismatch from merge
1 parent 33a06e9 commit ff7eee5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_cz_base.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import Optional
2-
31
import pytest
42

53
from commitizen.cz.base import BaseCommitizen, ValidationResult
@@ -12,8 +10,8 @@ def questions(self):
1210
def message(self, answers: dict):
1311
return answers["commit"]
1412

15-
def schema_pattern(self) -> Optional[str]:
16-
return None
13+
def schema_pattern(self) -> str:
14+
return ".*"
1715

1816

1917
def test_base_raises_error(config):

0 commit comments

Comments
 (0)