Skip to content

Commit

Permalink
Fix flake8 errors (two typos in var names)
Browse files Browse the repository at this point in the history
  • Loading branch information
altheaden committed Oct 3, 2024
1 parent a06adf8 commit d0e0b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion zstash/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

def create():
cache: str
exclude: str
cache, args = setup_create()

# Check config fields
Expand Down
4 changes: 2 additions & 2 deletions zstash/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def extract_database(
# This is because we may have different versions of the
# same file across many tars.
insert_idx: int
iter_inx: int
iter_idx: int
insert_idx, iter_idx = 0, 1
for iter_idx in range(1, len(matches)):
# If the filenames are unique, just increment insert_idx.
Expand Down Expand Up @@ -350,7 +350,7 @@ def multiprocess_extract(
workers_to_matches: List[List[FilesRow]] = [[] for _ in range(num_workers)]
for db_row in matches:
tar = db_row.tar
workers_idx: int
worker_idx: int
for worker_idx in range(len(workers_to_tars)):
if tar in workers_to_tars[worker_idx]:
# This worker gets this db_row.
Expand Down

0 comments on commit d0e0b15

Please sign in to comment.