We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0a73f commit 4d6f6a7Copy full SHA for 4d6f6a7
jetnet/datasets/utils.py
@@ -55,7 +55,7 @@ def _calculate_md5(fpath: str, chunk_size: int = 1024 * 1024) -> str:
55
# Setting the `usedforsecurity` flag does not change anything about the functionality, but
56
# indicates that we are not using the MD5 checksum for cryptography. This enables its usage
57
# in restricted environments like FIPS.
58
- if sys.version_info >= (3, 9):
+ if sys.version_info >= (3, 9): # noqa: UP036
59
md5 = hashlib.md5(usedforsecurity=False)
60
else:
61
md5 = hashlib.md5()
0 commit comments