Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #35

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
hooks:
- id: remove-crlf
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
Expand All @@ -39,7 +39,7 @@ repos:
args:
- --msg-filename
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.0.3
rev: 3.2.0
hooks:
- id: editorconfig-checker
- repo: https://github.com/jumanjihouse/pre-commit-hooks
Expand All @@ -50,15 +50,15 @@ repos:
exclude_types:
- zsh
- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
rev: v1.7.7
hooks:
- id: actionlint
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.19
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies:
Expand All @@ -72,7 +72,7 @@ repos:
- mdformat-config
- mdformat-web
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.16.0
rev: v0.17.2
hooks:
- id: markdownlint-cli2
additional_dependencies:
Expand All @@ -85,20 +85,20 @@ repos:
- id: update-package.json
- id: update-addon-info.json
- repo: https://github.com/perltidy/perltidy
rev: "20240903.08"
rev: "20250105.03"
hooks:
- id: perltidy
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.10.0-2
hooks:
- id: shfmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.9.4
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/kumaraditya303/mirrors-pyright
rev: v1.1.390
rev: v1.1.393
hooks:
- id: pyright
- repo: https://github.com/vimjas/vint
Expand Down
4 changes: 3 additions & 1 deletion docs/resources/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ def get_youdaozhiyun_app_info() -> tuple[str, str]:
return os.getenv("YDAPPID", ""), os.getenv("YDAPPSEC", "")


config.options["youdaozhiyun"]["get_youdaozhiyun_app_info"] = get_youdaozhiyun_app_info
config.options["youdaozhiyun"]["get_youdaozhiyun_app_info"] = (
get_youdaozhiyun_app_info
)
```

### OpenAI
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ vim.api.nvim_create_autocmd({ "BufEnter" }, {
```toml
[[language]]
name = "text"
language-servers = [ "translate-shell",]
language-servers = ["translate-shell"]

[language_server.translate-shell]
command = "trans --lsp"
Expand All @@ -96,7 +96,7 @@ command = "trans --lsp"

```toml
[language_server.translate-shell]
filetypes = [ "text",]
filetypes = ["text"]
command = "trans --lsp"
```

Expand Down
Loading