From 974370990e5586c2f9f41ebd8ad9616c637bbfe0 Mon Sep 17 00:00:00 2001 From: Sricharan Reddy Varra Date: Mon, 12 Aug 2024 12:16:17 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Added=20nb-clean=20pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit added nb-clean pre-commit --- .pre-commit-config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 + - --