diff options
author | Daniel Eades <danieleades@hotmail.com> | 2022-01-10 09:21:53 +0000 |
---|---|---|
committer | Daniel Eades <danieleades@hotmail.com> | 2022-01-12 20:19:18 +0000 |
commit | 6697ed62ed38287b72dd6ff213ba41d9d8f86466 (patch) | |
tree | ea61d054d85df6215dd3a8e42294e2c3ead60269 /sphinx/setup_command.py | |
parent | 49196d44746f7dd84dcc3a1837bd5c8d68a9848e (diff) | |
download | sphinx-git-6697ed62ed38287b72dd6ff213ba41d9d8f86466.tar.gz |
address some unused loop control variables (B007)
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r-- | sphinx/setup_command.py | 2 |
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 |