Skip to content

Commit

Permalink
crypto hints: ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Jun 3, 2024
1 parent 025b542 commit 6af6f0b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/plugins/analysis/crypto_hints/code/crypto_hints.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import io
from __future__ import annotations

from typing import TYPE_CHECKING, List

import pydantic
import typing

from analysis.plugin import addons, compat
from analysis.plugin import AnalysisPluginV0
from analysis.plugin import AnalysisPluginV0, addons, compat

if TYPE_CHECKING:
import io


class AnalysisPlugin(AnalysisPluginV0, compat.AnalysisBasePluginAdapterMixin):
class Schema(pydantic.BaseModel):
matches: typing.List[dict]
matches: List[dict]

def __init__(self):
metadata = AnalysisPluginV0.MetaData(
Expand Down

0 comments on commit 6af6f0b

Please sign in to comment.