Diff of /.pre-commit-config.yaml [000000] .. [d8937e]

Switch to unified view

a b/.pre-commit-config.yaml
1
# ignore svg, txt, json, html files
2
exclude: '^.*\.(svg|txt|json|html)$|build|dist|benchmarks\/train_crnn_cinc2023\/utils\/artifact_pipeline\/.*'
3
fail_fast: false
4
5
repos:
6
  - repo: https://github.com/pre-commit/pre-commit-hooks
7
    rev: v5.0.0
8
    hooks:
9
      - id: end-of-file-fixer
10
      - id: trailing-whitespace
11
  - repo: https://github.com/psf/black
12
    rev: 24.10.0
13
    hooks:
14
      - id: black
15
        args: [--line-length=128, --extend-exclude=.ipynb, --verbose]
16
  - repo: https://github.com/PyCQA/flake8
17
    rev: 7.1.1
18
    hooks:
19
      - id: flake8
20
        args: [--max-line-length=128, '--exclude=./.*,build,dist', '--ignore=E501,W503,E203,F841,E231,W604', --count, --statistics, --show-source]
21
  - repo: https://github.com/pycqa/isort
22
    rev: 5.13.2
23
    hooks:
24
      - id: isort
25
        args: [--profile=black, --line-length=128]