termux / termux-language-server · main

queued at: 2026-03-05 02:11:22.020715

total time to completion: 7.4s

autofix_commit_msg: '[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci\n'
autofix_prs: True
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: 'weekly'
skip: [shellcheck, pyright]
submodules: False
image ghcr.io/pre-commit-ci/runner-image:2025-12-05-b607932 => 66577168f01b05707c9eec85ed39639ba86100ea3eebeddd5fbb6176ea1bfbfc
https://github.com/DavidAnson/[email protected] (1.4MiB) (cached)
  sha: d7a4f7cf4914d3bffb9b83bdbc45fd2a00c91ff9

https://github.com/DavidAnson/markdownlint-cli2:[email protected] (1.4MiB) (cached)
  sha: d7a4f7cf4914d3bffb9b83bdbc45fd2a00c91ff9
  envs:
  - node@system (8.8MiB) (cached)

https://github.com/Lucas-C/[email protected] (139.5KiB) (cached)
  sha: a30f0d816e5062a67d87c8de753cfe499672b959
  envs:
  - [email protected] (11.8MiB) (cached)

https://github.com/adrienverge/[email protected] (889KiB) (cached)
  sha: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7
  envs:
  - [email protected] (3.6MiB) (cached)

https://github.com/astral-sh/[email protected] (34.2KiB) (cached)
  sha: aad66557af3b56ba6d4d69cd1b6cba87cef50cbb
  envs:
  - [email protected] (33MiB) (cached)

https://github.com/codespell-project/[email protected] (1.9MiB) (cached)
  sha: 63c8f8312b7559622c0d82815639671ae42132ac

https://github.com/codespell-project/codespell:[email protected] (1.9MiB) (cached)
  sha: 63c8f8312b7559622c0d82815639671ae42132ac
  envs:
  - [email protected] (2.4MiB) (cached)

https://github.com/editorconfig-checker/[email protected] (26.6KiB) (cached)
  sha: 62dcf364a52192458d66c0dba3a0a1fdb78e4fbe
  envs:
  - [email protected] (4MiB) (cached)

https://github.com/executablebooks/[email protected] (620.8KiB) (cached)
  sha: 82912cdaea4fb830f751504486a7879c70526547

https://github.com/executablebooks/mdformat:mdformat-pyproject,mdformat-gfm,mdformat-toc,mdformat-deflist,mdformat-beautysh,mdformat-ruff,mdformat-config,[email protected] (620.8KiB) (cached)
  sha: 82912cdaea4fb830f751504486a7879c70526547
  envs:
  - [email protected] (43MiB) (cached)

https://github.com/jorisroovers/[email protected] (2.1MiB) (cached)
  sha: acc9d9de6369b76d22cb4167029d2035e8730b98

https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]@v0.19.1 (2.1MiB) (cached)
  sha: acc9d9de6369b76d22cb4167029d2035e8730b98
  envs:
  - [email protected] (2.6MiB) (cached)

https://github.com/jumanjihouse/[email protected] (117.7KiB) (cached)
  sha: 38980559e3a605691d6579f96222c30778e5a69e

https://github.com/kumaraditya303/[email protected] (5.2KiB) (cached)
  sha: 1c04df6d8db2491d90ecc1971d0cbee9c6297cf8

https://github.com/kumaraditya303/mirrors-pyright:[email protected]@v1.1.407 (5.2KiB) (cached)
  sha: 1c04df6d8db2491d90ecc1971d0cbee9c6297cf8

https://github.com/pre-commit/[email protected] (267.9KiB) (cached)
  sha: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c
  envs:
  - [email protected] (1.3MiB) (cached)

https://github.com/rhysd/[email protected] (4.9MiB) (cached)
  sha: e7d448ef7507c20fc4c88a95d0c448b848cd6127
  envs:
  - golang@system (44.8MiB) (cached)

https://github.com/scop/[email protected] (29.9KiB) (cached)
  sha: 2a30809d16bc7a60d9b97353c797f42b510d3368
  envs:
  - [email protected] (2.8MiB) (cached)

languages:
- node (cached)
check for added large files...................................................Passed
fix utf-8 byte order marker...................................................Passed
check for case conflicts......................................................Passed
check that scripts with shebangs are executable...............................Passed
check for merge conflicts.....................................................Passed
trim trailing whitespace......................................................Passed
mixed line ending.............................................................Passed
fix end of files..............................................................Passed
detect private key............................................................Passed
check for broken symlinks.................................(no files to check)Skipped
check python ast..............................................................Passed
debug statements (python).....................................................Passed
fix requirements.txt..........................................................Passed
check xml.................................................(no files to check)Skipped
check yaml....................................................................Passed
check toml....................................................................Passed
check json................................................(no files to check)Skipped
CRLF end-lines remover........................................................Passed
codespell.....................................................................Passed
Check .editorconfig rules.....................................................Passed
Detect if an email address needs to be added to mailmap.......................Passed
Test shell scripts with shellcheck...........................................Skipped
Lint GitHub Actions workflow files............................................Passed
yamllint......................................................................Passed
mdformat......................................................................Passed
markdownlint-cli2.............................................................Failed
- hook id: markdownlint-cli2
- exit code: 1

markdownlint-cli2 v0.18.1 (markdownlint v0.38.0)
Finding: README.md docs/index.md docs/resources/requirements.md docs/api/termux-language-server.md
Linting: 4 file(s)
Summary: 1 error(s)
README.md:144:6 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]
markdownlint-cli2 v0.18.1 (markdownlint v0.38.0)
Finding: docs/resources/configure.md docs/resources/install.md
Linting: 2 file(s)
Summary: 0 error(s)

shfmt.........................................................................Passed
ruff check....................................................................Failed
- hook id: ruff-check
- exit code: 1

I001 [*] Import block is un-sorted or un-formatted
  --> docs/conf.py:6:1
   |
 4 |   """
 5 |
 6 | / from termux_language_server import __version__ as version  # type: ignore
 7 | | from termux_language_server._metainfo import (  # type: ignore
 8 | |     author,
 9 | |     copyright,
10 | |     project,
11 | | )
   | |_^
12 |
13 |   __all__ = ["version", "author", "copyright", "project"]
   |
help: Organize imports
3  | https://www.sphinx-doc.org/en/master/usage/configuration.html
4  | """
5  | 
   - from termux_language_server import __version__ as version  # type: ignore
6  | from termux_language_server._metainfo import (  # type: ignore
7  |     author,
8  |     copyright,
9  |     project,
10 | )
11 | 
12 + from termux_language_server import __version__ as version  # type: ignore
13 + 
14 | __all__ = ["version", "author", "copyright", "project"]
15 | 
16 | # -- Path setup --------------------------------------------------------------

I001 [*] Import block is un-sorted or un-formatted
 --> tests/test_schema.py:3:1
  |
1 |   r"""Test schema."""
2 |
3 | / import os
4 | |
5 | | from lsp_tree_sitter.finders import SchemaFinder
6 | | from termux_language_server.schema import BashTrie
7 | | from termux_language_server.utils import get_filetype, get_schema, parser
  | |_________________________________________________________________________^
8 |
9 |   PATH = os.path.dirname(__file__)
  |
help: Organize imports
3 | import os
4 | 
5 | from lsp_tree_sitter.finders import SchemaFinder
6 + 
7 | from termux_language_server.schema import BashTrie
8 | from termux_language_server.utils import get_filetype, get_schema, parser
9 | 

Found 2 errors.
[*] 2 fixable with the `--fix` option.

ruff format...................................................................Passed
pyright......................................................................Skipped