Skip to content

Commit 56e55df

Browse files
committed
🐛 Fix outdated APIs
1 parent 19d14eb commit 56e55df

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- windows-latest
3131
runs-on: ${{matrix.runs-on}}
3232
steps:
33-
- uses: actions/checkout@v3
34-
- uses: actions/setup-python@v4
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-python@v5
3535
with:
3636
python-version: ${{env.python-version}}
3737
cache: ${{env.cache}}
@@ -44,7 +44,7 @@ jobs:
4444
- name: Test
4545
run: |
4646
pytest --cov
47-
- uses: codecov/codecov-action@v3
47+
- uses: codecov/codecov-action@v4
4848
build:
4949
needs: test
5050
strategy:
@@ -56,8 +56,8 @@ jobs:
5656
- windows-latest
5757
runs-on: ${{matrix.runs-on}}
5858
steps:
59-
- uses: actions/checkout@v3
60-
- uses: actions/setup-python@v4
59+
- uses: actions/checkout@v4
60+
- uses: actions/setup-python@v5
6161
with:
6262
python-version: ${{env.python-version}}
6363
cache: ${{env.cache}}
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
path: |
8181
dist/*
82-
- uses: softprops/action-gh-release@v1
82+
- uses: softprops/action-gh-release@v2
8383
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
8484
with:
8585
# body_path: build/CHANGELOG.md

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
args:
4040
- --msg-filename
4141
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
42-
rev: 3.4.0
42+
rev: 3.4.1
4343
hooks:
4444
- id: editorconfig-checker
4545
- repo: https://github.com/jumanjihouse/pre-commit-hooks
@@ -55,16 +55,16 @@ repos:
5555
hooks:
5656
- id: yamllint
5757
- repo: https://github.com/executablebooks/mdformat
58-
rev: 0.7.22
58+
rev: 1.0.0
5959
hooks:
6060
- id: mdformat
6161
additional_dependencies:
6262
- mdformat-pyproject
6363
- mdformat-gfm
64-
- mdformat-myst
64+
# - mdformat-myst
6565
- mdformat-toc
6666
- mdformat-deflist
67-
# - mdformat-beautysh
67+
- mdformat-beautysh
6868
- mdformat-ruff
6969
- mdformat-config
7070
- mdformat-web
@@ -75,7 +75,7 @@ repos:
7575
additional_dependencies:
7676
- markdown-it-texmath
7777
- repo: https://github.com/astral-sh/ruff-pre-commit
78-
rev: v0.14.2
78+
rev: v0.14.3
7979
hooks:
8080
- id: ruff-check
8181
- id: ruff-format

src/mutt_language_server/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ def from_node(cls, node: Node, parent: "Trie | None") -> "Trie":
110110
elif child.type == "source_directive":
111111
value += [ # type: ignore
112112
cls(
113-
UNI.node2range(child.children[1]),
113+
UNI(child.children[1]).range,
114114
subtrie,
115-
UNI.node2text(child.children[1]),
115+
UNI(child.children[1]).text,
116116
)
117117
]
118118
return trie

0 commit comments

Comments
 (0)