Skip to content

Commit ddadb40

Browse files
committed
⬆️ Upgrade pygls
1 parent 12e4090 commit ddadb40

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ exclude: ^templates/|\.json$
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
6+
rev: v6.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: fix-byte-order-marker
@@ -27,7 +27,7 @@ repos:
2727
hooks:
2828
- id: remove-crlf
2929
- repo: https://github.com/codespell-project/codespell
30-
rev: v2.3.0
30+
rev: v2.4.1
3131
hooks:
3232
- id: codespell
3333
additional_dependencies:
@@ -39,23 +39,23 @@ repos:
3939
args:
4040
- --msg-filename
4141
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
42-
rev: 3.0.3
42+
rev: 3.4.0
4343
hooks:
4444
- id: editorconfig-checker
4545
- repo: https://github.com/jumanjihouse/pre-commit-hooks
4646
rev: 3.0.0
4747
hooks:
4848
- id: check-mailmap
4949
- repo: https://github.com/rhysd/actionlint
50-
rev: v1.7.3
50+
rev: v1.7.8
5151
hooks:
5252
- id: actionlint
5353
- repo: https://github.com/adrienverge/yamllint
54-
rev: v1.35.1
54+
rev: v1.37.1
5555
hooks:
5656
- id: yamllint
5757
- repo: https://github.com/executablebooks/mdformat
58-
rev: 0.7.17
58+
rev: 0.7.22
5959
hooks:
6060
- id: mdformat
6161
additional_dependencies:
@@ -64,23 +64,23 @@ repos:
6464
- mdformat-myst
6565
- mdformat-toc
6666
- mdformat-deflist
67-
- mdformat-beautysh
67+
# - mdformat-beautysh
6868
- mdformat-ruff
6969
- mdformat-config
7070
- mdformat-web
7171
- repo: https://github.com/DavidAnson/markdownlint-cli2
72-
rev: v0.14.0
72+
rev: v0.18.1
7373
hooks:
7474
- id: markdownlint-cli2
7575
additional_dependencies:
7676
- markdown-it-texmath
7777
- repo: https://github.com/astral-sh/ruff-pre-commit
78-
rev: v0.6.9
78+
rev: v0.14.1
7979
hooks:
80-
- id: ruff
80+
- id: ruff-check
8181
- id: ruff-format
8282
- repo: https://github.com/kumaraditya303/mirrors-pyright
83-
rev: v1.1.383
83+
rev: v1.1.406
8484
hooks:
8585
- id: pyright
8686

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env -S pip install -r
22

33
lsp-tree-sitter
4+
pygls >= 2.0.0
45
tree-sitter-muttrc >= 0.0.4

src/mutt_language_server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
MarkupKind,
2525
TextDocumentPositionParams,
2626
)
27-
from pygls.server import LanguageServer
27+
from pygls.lsp.server import LanguageServer
2828

2929
from .finders import DIAGNOSTICS_FINDER_CLASSES, ImportMuttFinder
3030
from .utils import get_schema, parser

0 commit comments

Comments
 (0)