Skip to content

Commit 25e5887

Browse files
committed
Use get_eol_chars utility function added to python-lsp-server 1.4.0
Also drop support for Python 3.6 because that version of python-lsp-server only supports 3.7+
1 parent 0c82bf8 commit 25e5887

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

pylsp_black/_utils.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

pylsp_black/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import toml
88
from pylsp import hookimpl
99

10-
from pylsp_black._utils import get_eol_chars
10+
from pylsp._utils import get_eol_chars
1111

1212
logger = logging.getLogger(__name__)
1313

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ classifiers =
1818

1919
[options]
2020
packages = find:
21-
install_requires = python-lsp-server; black>=19.3b0; toml
22-
python_requires = >= 3.6
21+
install_requires = python-lsp-server>=1.4.0; black>=19.3b0; toml
22+
python_requires = >= 3.7
2323

2424
[options.entry_points]
2525
pylsp = pylsp_black = pylsp_black.plugin

0 commit comments

Comments
 (0)