Skip to content

Commit eae92ac

Browse files
author
Toni
committed
reverting changes
1 parent 418a5ea commit eae92ac

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pylsp/__init__.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
# Copyright 2021- Python Language Server Contributors.
33

44
import os
5-
import pluggy
6-
7-
PYLSP = "pylsp"
8-
IS_WIN = os.name == "nt"
95

10-
hookspec = pluggy.HookspecMarker(PYLSP)
11-
hookimpl = pluggy.HookimplMarker(PYLSP)
6+
import pluggy
127

138
from . import _version
14-
__version__ = _version.__version__
9+
from ._version import __version__
1510

1611

1712
def convert_version_info(version: str) -> (int, ..., str):
@@ -29,4 +24,10 @@ def convert_version_info(version: str) -> (int, ..., str):
2924

3025
_version.VERSION_INFO = convert_version_info(__version__)
3126

27+
PYLSP = "pylsp"
28+
IS_WIN = os.name == "nt"
29+
30+
hookspec = pluggy.HookspecMarker(PYLSP)
31+
hookimpl = pluggy.HookimplMarker(PYLSP)
32+
3233
__all__ = ("__version__",)

0 commit comments

Comments
 (0)