mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-08-04 01:58:18 +00:00
Some checks are pending
lint / pre-commit (push) Waiting to run
release / build (push) Waiting to run
release / test (push) Waiting to run
release / release (push) Blocked by required conditions
test / generate-matrix (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
test / tests (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
default_language_version:
|
|
rust: "1.86"
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: fix-byte-order-marker
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
args: ["--unsafe"] # breaks on .mkdocs.yml otherwise
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
- id: no-commit-to-branch
|
|
args: ["--branch", "main"]
|
|
- repo: https://github.com/woodruffw/zizmor-pre-commit
|
|
rev: v1.6.0
|
|
hooks:
|
|
- id: zizmor
|
|
- repo: local
|
|
hooks:
|
|
- id: fmt
|
|
name: cargo fmt
|
|
description: format files with "cargo fmt"
|
|
types:
|
|
- rust
|
|
language: rust
|
|
entry: cargo +nightly fmt
|
|
args:
|
|
- --
|
|
- id: check
|
|
name: cargo check
|
|
description: check the package for errors with "cargo check"
|
|
types:
|
|
- rust
|
|
language: rust
|
|
entry: cargo check
|
|
pass_filenames: false
|
|
- id: clippy
|
|
name: cargo clippy
|
|
description: check the package with "cargo clippy"
|
|
types:
|
|
- rust
|
|
language: rust
|
|
entry: cargo clippy
|
|
pass_filenames: false
|