From 4b948da636c14e09655e99a3feb1b9fac5db2c11 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Tue, 15 Aug 2023 17:08:50 -0500 Subject: [PATCH] add hook args to change notebook kernels --- .pre-commit-config.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29c4fa4..2a35051 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -72,7 +72,13 @@ repos: hooks: - id: file-name-check-whitespace - id: nb-check-kernel - args: [ --verbose, --kernel-name=python3, --kernel-language=python] + args: [ + --verbose, + --fix, + --kernel-name=ivy, + --kernel-display-name=Ivy, + --kernel-language=python + ] - id: nb-check-hidden-cells args: [--tags=solution, --solution-suffix=.a.ipynb, --diff] - id: notebook-check-heading-levels