Fixed B007 (unused-loop-control-variable)

This commit is contained in:
Teal Dulcet
2024-03-10 07:54:51 -04:00
committed by Joshua Tauberer
parent c953e5784d
commit 57d05c1ab2
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ def du(path):
# soft and hard links.
total_size = 0
seen = set()
for dirpath, dirnames, filenames in os.walk(path):
for dirpath, _dirnames, filenames in os.walk(path):
for f in filenames:
fp = os.path.join(dirpath, f)
try: