Spaces:
Running
Running
File size: 1,883 Bytes
3fdf87c 66eb016 3fdf87c 66eb016 3fdf87c 66eb016 3fdf87c 66eb016 3fdf87c 66eb016 3fdf87c 66eb016 3fdf87c 66eb016 3fdf87c |
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 24.10.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.8.1
hooks:
- id: nbstripout
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.9.1
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.20.1 # Use the latest version available
hooks:
- id: cfn-lint
files: cloudformation/.*\.(json|yml|yaml)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
- id: mypy
entry: bash -c 'mypy "$@"; git add -u' --
- repo: https://github.com/PyCQA/pylint
rev: v3.3.1
hooks:
- id: pylint
args: [--rcfile=.pylintrc]
|