Fix linter issues and unittests
Some checks failed
Build Docker image / build (push) Has been skipped
Build Docker image / test (push) Failing after 2m41s

This commit is contained in:
Roman Krček
2024-10-13 21:18:18 +02:00
parent 6d508121b0
commit 3075743c5d
3 changed files with 27 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
import os
import pickle
import pickle # nosec
import re
from datetime import datetime
@@ -102,7 +102,7 @@ def get_tt_hashes() -> set:
return set()
with open(settings.tt_hash_file, "rb+") as f:
all_tt_hashes: set = pickle.load(f)
all_tt_hashes: set = pickle.load(f) # nosec
print(all_tt_hashes)
return all_tt_hashes