Skip to content

Commit

Permalink
Adjust for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
1kastner committed Sep 9, 2023
1 parent a6f4c1b commit 733fcd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conflowgen/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def hashable(obj: Any) -> bool:

def get_convert_to_random_value(random_bits):
def convert_to_random_value(row_id):
h = hashlib.new('sha256')
h.update((random_bits + row_id).to_bytes(16, 'big'))
return h.hexdigest()
hash = hashlib.new('sha256')
hash.update((random_bits + row_id).to_bytes(16, 'big'))
return hash.hexdigest()
return convert_to_random_value

0 comments on commit 733fcd8

Please sign in to comment.