[mod] pylint: numerous minor code fixes

This commit is contained in:
Alexandre Flament 2020-11-16 09:43:23 +01:00
parent 9ed3ee2beb
commit b00d108673
24 changed files with 48 additions and 64 deletions

View file

@ -158,8 +158,8 @@ def prepare_package_resources(pkg, name):
def sha_sum(filename):
with open(filename, "rb") as f:
bytes = f.read()
return sha256(bytes).hexdigest()
file_content_bytes = f.read()
return sha256(file_content_bytes).hexdigest()
plugins = PluginStore()