Skip to content

Commit 3decc6c

Browse files
style(commitizen/cz/__init__.py): Mark vars unused
Explicitly mark some loop variables unused as recommended by flake8-bugbear.
1 parent 354f9ea commit 3decc6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/cz/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def discover_plugins(path: Iterable[str] = None) -> Dict[str, Type[BaseCommitize
2020
Dict[str, Type[BaseCommitizen]]: Registry with found plugins
2121
"""
2222
plugins = {}
23-
for finder, name, ispkg in pkgutil.iter_modules(path):
23+
for _finder, name, _ispkg in pkgutil.iter_modules(path):
2424
try:
2525
if name.startswith("cz_"):
2626
plugins[name] = importlib.import_module(name).discover_this

0 commit comments

Comments
 (0)