Skip to content

Commit a4b9ae9

Browse files
committed
refactor(check): remove unused argument
1 parent 32d7adb commit a4b9ae9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

commitizen/commands/check.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import os
43
import re
54
import sys
65
from typing import Any
@@ -17,9 +16,7 @@
1716
class Check:
1817
"""Check if the current commit msg matches the commitizen format."""
1918

20-
def __init__(
21-
self, config: BaseConfig, arguments: dict[str, Any], cwd: str = os.getcwd()
22-
) -> None:
19+
def __init__(self, config: BaseConfig, arguments: dict[str, Any]) -> None:
2320
"""Initial check command.
2421
2522
Args:

0 commit comments

Comments
 (0)