Add hooks for notebooks

This commit is contained in:
Ayaz Salikhov
2022-03-16 01:01:45 +02:00
parent 442e703766
commit 1e0650fe63

View File

@@ -53,10 +53,25 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/kynan/nbstripout
rev: 0.5.0
hooks:
- id: nbstripout
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.3.1
hooks:
- id: nbqa-black
- id: nbqa-flake8
- id: nbqa-pyupgrade
args: [--py39-plus]
# Lint: Dockerfile
- repo: https://github.com/hadolint/hadolint.git
rev: v2.8.0