Files
local-llm-prompt-manager/.pre-commit-config.yaml

40 lines
896 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: detect-private-key
- id: fix-byte-order-marker
- repo: https://github.com/psf/black
rev: 24.1.0
hooks:
- id: black
language_version: python3.9
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies: [types-requests, types-pyyaml]
args: [--ignore-missing-imports, --disallow-untyped-defs]
ci:
autofix_commit_msg: |
style: pre-commit fixes
autofix_pr_body: |
{{$message}}