We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba57182 commit fe72043Copy full SHA for fe72043
commitizen/commands/check.py
@@ -72,15 +72,11 @@ def __call__(self):
72
raise NoCommitsFoundError(f"No commit found with range: '{self.rev_range}'")
73
74
pattern = self.cz.schema_pattern()
75
- ill_formatted_commits = [
76
- commit
77
- for commit in commits
78
- if not self.validate_commit_message(commit.message, pattern)
79
- ]
80
displayed_msgs_content = "\n".join(
81
[
82
f'commit "{commit.rev}": "{commit.message}"'
83
- for commit in ill_formatted_commits
+ for commit in commits
+ if not self.validate_commit_message(commit.message, pattern)
84
]
85
)
86
if displayed_msgs_content:
0 commit comments