CI / test (3.11) (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 0s
CI / test (3.13) (push) Canceled after 0s
CI / test (3.14) (push) Canceled after 0s
CI / package (push) Canceled after 0s
CI / precommit-and-security (push) Canceled after 11s
CI / typecheck (push) Canceled after 11s
32 lines
854 B
YAML
32 lines
854 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
name: Enforce removal of trailing whitespace
|
|
- id: end-of-file-fixer
|
|
name: Enforce end of the file format
|
|
- id: check-yaml
|
|
name: Check YAML syntax
|
|
- id: check-toml
|
|
name: Check TOML syntax
|
|
- id: check-merge-conflict
|
|
name: Check for merge conflict markers
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.16.8
|
|
hooks:
|
|
- id: ruff
|
|
name: Lint with ruff
|
|
args: ["--fix"]
|
|
- id: ruff-format
|
|
name: Format with ruff
|
|
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: 1.9.4
|
|
hooks:
|
|
- id: bandit
|
|
name: Security scan with Bandit
|
|
files: ^src/
|
|
args: ["-lll", "-iii", "-s", "B603,B604,B607"]
|