Benchmarks / .pre-commit-config.yaml
Julien Simon
Break results into one file per model
0c0f086
raw
history blame
1.88 kB
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
entry: bash -c 'black "$@"; git add -u' --
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
entry: bash -c 'isort "$@"; git add -u' --
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
args: [--max-line-length=120, "--extend-ignore=E501,E402"]
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.7
hooks:
- id: nbqa-black
additional_dependencies: [black==23.3.0]
entry: bash -c 'nbqa-black "$@"; git add -u' --
- id: nbqa-isort
additional_dependencies: [isort==5.12.0]
entry: bash -c 'nbqa-isort "$@"; git add -u' --
- id: nbqa-flake8
additional_dependencies: [flake8==6.0.0]
args: [--max-line-length=120, "--extend-ignore=E501,E402,E231"]
- repo: https://github.com/mwouts/jupytext
rev: v1.16.4b
hooks:
- id: jupytext
args: [--sync, --pipe, black]
additional_dependencies:
- black==23.3.0
- repo: https://github.com/aws-cloudformation/cfn-lint
rev: v1.11.0 # Use the latest version available
hooks:
- id: cfn-lint
files: cloudformation/.*\.(json|yml|yaml)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- id: mypy
entry: bash -c 'mypy "$@"; git add -u' --
- repo: https://github.com/PyCQA/pylint
rev: v3.2.6
hooks:
- id: pylint
args: [--rcfile=.pylintrc]