diff options
Diffstat (limited to 'pyGHDL')
-rw-r--r-- | pyGHDL/lsp/lsp.py | 36 | ||||
-rw-r--r-- | pyGHDL/requirements.txt | 3 |
2 files changed, 0 insertions, 39 deletions
diff --git a/pyGHDL/lsp/lsp.py b/pyGHDL/lsp/lsp.py index 60f32be76..eaa0cdfac 100644 --- a/pyGHDL/lsp/lsp.py +++ b/pyGHDL/lsp/lsp.py @@ -1,8 +1,6 @@ import os import logging import json -import attr -from attr.validators import instance_of try: from urllib.parse import unquote, quote @@ -275,37 +273,3 @@ class SymbolKind(object): Number = 16 Boolean = 17 Array = 18 - - -@attr.s -class HoverInfo(object): - language = attr.ib() - value = attr.ib() - - -@attr.s -class Completion(object): - label = attr.ib() - kind = attr.ib() - detail = attr.ib() - documentation = attr.ib() - - -@attr.s -class Position(object): - line = attr.ib() - character = attr.ib() - - -@attr.s -class Range(object): - start = attr.ib(validator=instance_of(Position)) - end = attr.ib(validator=instance_of(Position)) - - -@attr.s -class Diagnostic(object): - range = attr.ib(validator=instance_of(Range)) - severity = attr.ib() - source = attr.ib() - message = attr.ib() diff --git a/pyGHDL/requirements.txt b/pyGHDL/requirements.txt index f985d97fa..d373926f3 100644 --- a/pyGHDL/requirements.txt +++ b/pyGHDL/requirements.txt @@ -1,5 +1,2 @@ -# FIXME: remove this dependency. Only lsp/lsp.py uses it. -attrs - pydecor>=2.0.1 pyVHDLModel>=0.7.3 |