summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorDaniel Eades <danieleades@hotmail.com>2022-01-10 09:21:53 +0000
committerDaniel Eades <danieleades@hotmail.com>2022-01-12 20:19:18 +0000
commit6697ed62ed38287b72dd6ff213ba41d9d8f86466 (patch)
treeea61d054d85df6215dd3a8e42294e2c3ead60269 /sphinx/setup_command.py
parent49196d44746f7dd84dcc3a1837bd5c8d68a9848e (diff)
downloadsphinx-git-6697ed62ed38287b72dd6ff213ba41d9d8f86466.tar.gz
address some unused loop control variables (B007)
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index ab5441394..67b89f1c8 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -112,7 +112,7 @@ class BuildDoc(Command):
for guess in ('doc', 'docs'):
if not os.path.isdir(guess):
continue
- for root, dirnames, filenames in os.walk(guess):
+ for root, _dirnames, filenames in os.walk(guess):
if 'conf.py' in filenames:
return root
return os.curdir