From 0c384db0730bb52825d348973ef0d1e50d1e1cef Mon Sep 17 00:00:00 2001 From: sqr00t <797346+sqr00t@users.noreply.github.com> Date: Thu, 8 Feb 2024 08:32:52 +0000 Subject: [PATCH] chore(hooks): move nbstripout hook for stripping notebook outputs --- .pre-commit-config.yaml | 4 ---- {{ cookiecutter.repo_name }}/.pre-commit-config.yaml | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b874e1a3..66172ccf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,7 +65,3 @@ repos: - id: prettier name: Prettier (except markdown) exclude: ".md" - - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 - hooks: - - id: nbstripout diff --git a/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml b/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml index 83167376..fcfd69d5 100644 --- a/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml @@ -59,3 +59,7 @@ repos: rev: v2.1.2 hooks: - id: prettier + - repo: https://github.com/kynan/nbstripout + rev: 0.6.1 + hooks: + - id: nbstripout