diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f97330..786e727 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,3 +40,13 @@ repos: Fix the merge conflicts manually and remove the .rej files. language: fail files: '.*\.rej$' + - repo: https://github.com/srstevenson/nb-clean + rev: 3.3.0 + hooks: + - id: nb-clean + args: + - --remove-empty-cells + - --preserve-cell-metadata + - tags + - slideshow + - --