Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkrzem committed Dec 13, 2024
1 parent d0cdcd6 commit 1af4050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import base64
from typing import List, Optional, cast, Dict
from typing import List, Optional, cast, Dict, Any
import logging
from rq import get_current_job, Queue # type: ignore
from redis import Redis
Expand Down Expand Up @@ -74,7 +74,7 @@ def update_metadata(
orig_name: str,
path: str,
matches: List[str],
context: Dict[str, List[Dict[str, str]]],
context: Dict[str, Dict[str, Dict[str, str]]],
) -> None:
"""Saves matches to the database, and runs appropriate metadata
plugins.
Expand Down Expand Up @@ -128,7 +128,7 @@ def execute_yara(self, job: Job, files: List[str]) -> None:
orig_name,
path,
[r.rule for r in matches],
context,
context
)
num_matches += 1
except yara.Error:
Expand Down

0 comments on commit 1af4050

Please sign in to comment.