Skip to content

Commit

Permalink
👽 Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jun 12, 2024
1 parent 882f584 commit c3b9b0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ exclude: ^template(s)?/

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: fix-byte-order-marker
Expand All @@ -27,7 +27,7 @@ repos:
hooks:
- id: remove-crlf
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand All @@ -47,7 +47,7 @@ repos:
hooks:
- id: check-mailmap
- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
rev: v1.7.1
hooks:
- id: actionlint
- repo: https://github.com/adrienverge/yamllint
Expand All @@ -69,7 +69,7 @@ repos:
- mdformat-config
- mdformat-web
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
rev: v0.13.0
hooks:
- id: markdownlint-cli2
additional_dependencies:
Expand All @@ -79,12 +79,12 @@ repos:
hooks:
- id: update-pyproject.toml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
rev: v0.4.8
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/kumaraditya303/mirrors-pyright
rev: v1.1.350
rev: v1.1.366
hooks:
- id: pyright

Expand Down
2 changes: 1 addition & 1 deletion template/src/{{ module }}/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

SCHEMAS = {}
QUERIES = {}
language = Language(get_language_ptr(), "{{ language }}")
language = Language(get_language_ptr())
parser = Parser()
parser.set_language(language)

Expand Down

0 comments on commit c3b9b0f

Please sign in to comment.