Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Dec 15, 2024
1 parent 8bc0af8 commit f0abb45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 1 addition & 6 deletions vyper_lsp/analyzer/AstAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
from packaging.version import Version
from lsprotocol.types import (
CompletionItemLabelDetails,
ParameterInformation,
Position,
SignatureHelp,
SignatureInformation,
)
from pygls.workspace import Document
from vyper.ast import FunctionDef, nodes
from vyper_lsp import utils
from vyper.ast import nodes
from vyper_lsp.analyzer.BaseAnalyzer import Analyzer
from vyper_lsp.ast import AST
from vyper_lsp.utils import (
Expand All @@ -24,7 +20,6 @@
CompletionItem,
CompletionList,
CompletionParams,
SignatureHelpParams,
)
from pygls.server import LanguageServer

Expand Down
8 changes: 7 additions & 1 deletion vyper_lsp/handlers/signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
from vyper.ast import FunctionDef
from typing import Optional

from lsprotocol.types import ParameterInformation, SignatureHelp, SignatureHelpParams, SignatureInformation
from lsprotocol.types import (
ParameterInformation,
SignatureHelp,
SignatureHelpParams,
SignatureInformation,
)
from vyper_lsp import utils
from vyper_lsp.ast import AST
from vyper_lsp.utils import get_expression_at_cursor

logger = logging.getLogger("vyper-lsp")


class SignatureHandler:
def __init__(self, ast: AST):
self.ast = ast
Expand Down

0 comments on commit f0abb45

Please sign in to comment.