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 cec5d32

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

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)

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