Skip to content

Commit cee220c

Browse files
committed
fix(config): update for code readability
1 parent 289a60e commit cee220c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/config/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def read_cfg(filepath: str | None = None) -> BaseConfig:
1515
conf = BaseConfig()
1616

1717
if filepath is not None:
18-
cfg_paths = (_ for _ in (Path(filepath),))
18+
cfg_paths = (path for path in (Path(filepath),))
1919
else:
2020
git_project_root = git.find_git_project_root()
2121
cfg_search_paths = [Path(".")]

0 commit comments

Comments
 (0)