Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Signed-off-by: 0ssigeno <s.berni@certego.net>
  • Loading branch information
0ssigeno committed Feb 14, 2023
1 parent 21ff75d commit d0f7468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_app/analyzers_manager/file_analyzers/yara_scan.py
Expand Up @@ -126,7 +126,7 @@ def _get_rules(
rules_compiled.append((path, buff))
return rules_compiled

def _analyze_directory(self, directory: PosixPath) -> List[Dict[str:Any]]:
def _analyze_directory(self, directory: PosixPath) -> List[Dict[str, Any]]:
result = []
if not directory.exists() and not settings.STAGE_CI:
self.report.errors.append(f"There is no directory {directory} to check")
Expand Down Expand Up @@ -158,7 +158,7 @@ def _analyze_directory(self, directory: PosixPath) -> List[Dict[str:Any]]:
)
return result

def analyze(self, url: str, private: bool = False) -> List[Dict[str:Any]]:
def analyze(self, url: str, private: bool = False) -> List[Dict[str, Any]]:
from certego_saas.apps.organization.membership import Membership

if private:
Expand Down

0 comments on commit d0f7468

Please sign in to comment.