interviewer / .pre-commit-config.yaml
IliaLarchenko's picture
Fixed pre-commit
1d5a095
raw
history blame
693 Bytes
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: check-added-large-files
args: ['--maxkb=10240']
- repo: https://github.com/timothycrosley/isort
rev: 5.13.2
hooks:
- id: isort
args: [-w, "140", -lbt, "1"]
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
language_version: python3.12
args: ['--line-length', '140']
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
hooks:
- id: pyupgrade
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout