granite-guardian-3.1-8b / .pre-commit-config.yaml
Martín Santillán Cooper
Add pre-commit file
2e6c988
raw
history blame contribute delete
627 Bytes
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-json
- id: check-merge-conflict
- repo: https://github.com/pycqa/flake8
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
hooks:
- id: pyupgrade
args: ['--py310-plus']
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args:
- --line-length=120