Skip to content

Commit d0e0b15

Browse files
committed
Fix flake8 errors (two typos in var names)
1 parent a06adf8 commit d0e0b15

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

zstash/create.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
def create():
2626
cache: str
27-
exclude: str
2827
cache, args = setup_create()
2928

3029
# Check config fields

zstash/extract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def extract_database(
254254
# This is because we may have different versions of the
255255
# same file across many tars.
256256
insert_idx: int
257-
iter_inx: int
257+
iter_idx: int
258258
insert_idx, iter_idx = 0, 1
259259
for iter_idx in range(1, len(matches)):
260260
# If the filenames are unique, just increment insert_idx.
@@ -350,7 +350,7 @@ def multiprocess_extract(
350350
workers_to_matches: List[List[FilesRow]] = [[] for _ in range(num_workers)]
351351
for db_row in matches:
352352
tar = db_row.tar
353-
workers_idx: int
353+
worker_idx: int
354354
for worker_idx in range(len(workers_to_tars)):
355355
if tar in workers_to_tars[worker_idx]:
356356
# This worker gets this db_row.

0 commit comments

Comments
 (0)