Skip to content

Commit 48e29e5

Browse files
Kurt-von-LavenLee-W
authored andcommitted
style(commitizen/cz/__init__.py): Mark vars unused
Explicitly mark some loop variables unused as recommended by flake8-bugbear.
1 parent 713ce19 commit 48e29e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/cz/__init__.py

+1-1
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)