Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cee220c

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /