From c65e9b992e3d1150d3b3c5652c905d9132c98cce Mon Sep 17 00:00:00 2001 From: Marlan Perumal Date: Sun, 7 Mar 2021 16:41:16 +0200 Subject: [PATCH] added notebookless pre-commit hook --- .pre-commit-hooks.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index e3ca5161f..389258cb4 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -8,3 +8,14 @@ # many more types are actually supported (r, matlab, js, bash, powershell, robot, ...) # If you need support for one of these other extensions, please override this default value types_or: [jupyter, markdown, python] + +- id: jupytext-notebookless + name: jupytext notebookless + description: Runs jupytext on all paired files. Ignore notebooks + language: python + entry: jupytext + require_serial: true + # We have only added the most frequent text notebook types, but + # many more types are actually supported (r, matlab, js, bash, powershell, robot, ...) + # If you need support for one of these other extensions, please override this default value + types_or: [markdown, python]