Skip to content

Commit

Permalink
Fix A002 Argument is shadowing a Python builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Nov 29, 2023
1 parent 07dc760 commit 66861ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dandiapi/api/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class ChecksumCalculatorFile:
def __init__(self):
self.h = hashlib.sha256()

def write(self, bytes):
self.h.update(bytes)
def write(self, data: bytes) -> None:
self.h.update(data)

@property
def checksum(self):
Expand Down

0 comments on commit 66861ca

Please sign in to comment.