File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ def get_core_editor() -> str | None:
317317 return None
318318
319319
320- def smart_open (* args : Any , ** kwargs : Any ) -> IO [Any ]: # noqa: ANN401
320+ def smart_open (* args : Any , ** kwargs : Any ) -> IO [Any ]:
321321 """Open a file with the EOL style determined from Git."""
322322 return open (* args , newline = EOLType .for_open (), ** kwargs )
323323
Original file line number Diff line number Diff line change 66
77from commitizen import commands
88from commitizen .__version__ import __version__
9- from commitizen .commands .version import VersionArgs
109from commitizen .config .base_config import BaseConfig
1110
11+ if TYPE_CHECKING :
12+ from commitizen .commands .version import VersionArgs
13+
1214
1315def test_version_for_showing_project_version_error (config , capsys ):
1416 # No version specified in config
You can’t perform that action at this time.
0 commit comments