diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95a7d9c9..a1273b79 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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