forked from NVIDIA/NeMo-Retriever
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (28 loc) · 810 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (28 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# https://pre-commit.com/
# Before first use: `pre-commit install`
# To run: `pre-commit run --all-files`
# To update: `pre-commit autoupdate`
fail_fast: false
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: '(^(docs|data)/|\.md$)'
- id: end-of-file-fixer
- id: check-added-large-files
args: ['--maxkb=1500']
- id: check-ast
- id: debug-statements
- repo: https://github.com/psf/black
rev: 25.9.0
hooks:
- id: black
args: ["--line-length=120"]
- repo: https://github.com/PyCQA/flake8
rev: 7.3.0
hooks:
- id: flake8
args: ["--max-line-length=120", "--extend-ignore=E203,E266,F403,F405,E402"]