From 6bc21723d97a83f72fb1dc56a9c2db7e0e0cb36e Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Tue, 26 Sep 2023 11:04:55 -0700 Subject: Get rid of magic numbers for verbosity checking --- wikiget/validations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wikiget/validations.py') diff --git a/wikiget/validations.py b/wikiget/validations.py index c0aa90d..dc70df4 100644 --- a/wikiget/validations.py +++ b/wikiget/validations.py @@ -55,7 +55,7 @@ def verify_hash(filename): :param filename: name of the file to calculate a hash for :return: hash digest """ - hasher = hashlib.sha1() + hasher = hashlib.sha1() # noqa: S324 with open(filename, "rb") as dl: buf = dl.read(BLOCKSIZE) while len(buf) > 0: -- cgit v1.2.3