File size: 1,140 Bytes
3a464db | 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | exclude: |
(?x)^(
scripts/|
assets/|
vlmeval/config.py |
vlmeval/dataset/utils/wemath.py |
vlmeval/dataset/OmniDocBench/ |
vlmeval/dataset/utils/megabench/ |
vlmeval/dataset/utils/vgrpbench/ |
vlmeval/dataset/utils/chartmimic/ |
vlmeval/vlm/ola/ |
vlmeval/vlm/ursa/ |
vlmeval/vlm/ovis/ |
vlmeval/dataset/utils/mme_reasoning.py
)
repos:
- repo: https://github.com/PyCQA/flake8
rev: 7.1.2
hooks:
- id: flake8
args:
[
"--max-line-length=120",
"--ignore=W503",
]
exclude: ^configs/
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
hooks:
- id: isort
- repo: https://github.com/google/yapf
rev: v0.43.0
hooks:
- id: yapf
args: ["--style={column_limit=120}"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: mixed-line-ending
args: ["--fix=lf"]
|