Skip to content

Commit 4d6f6a7

Browse files
committed
ruff
1 parent 3c0a73f commit 4d6f6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jetnet/datasets/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _calculate_md5(fpath: str, chunk_size: int = 1024 * 1024) -> str:
5555
# Setting the `usedforsecurity` flag does not change anything about the functionality, but
5656
# indicates that we are not using the MD5 checksum for cryptography. This enables its usage
5757
# in restricted environments like FIPS.
58-
if sys.version_info >= (3, 9):
58+
if sys.version_info >= (3, 9): # noqa: UP036
5959
md5 = hashlib.md5(usedforsecurity=False)
6060
else:
6161
md5 = hashlib.md5()

0 commit comments

Comments
 (0)