Skip to content

Commit 1c24567

Browse files
committed
refactor(check): fix typo
1 parent 860da72 commit 1c24567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commitizen/commands/check.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ def __call__(self):
7272
raise NoCommitsFoundError(f"No commit found with range: '{self.rev_range}'")
7373

7474
pattern = self.cz.schema_pattern()
75-
ill_formated_commits = [
75+
ill_formatted_commits = [
7676
commit
7777
for commit in commits
7878
if not self.validate_commit_message(commit.message, pattern)
7979
]
8080
displayed_msgs_content = "\n".join(
8181
[
8282
f'commit "{commit.rev}": "{commit.message}"'
83-
for commit in ill_formated_commits
83+
for commit in ill_formatted_commits
8484
]
8585
)
8686
if displayed_msgs_content:

0 commit comments

Comments
 (0)