From 3a01cae5dd14a5d78be135e2e69684722140e808 Mon Sep 17 00:00:00 2001 From: dberenbaum Date: Tue, 17 Oct 2023 16:16:06 -0400 Subject: [PATCH] codespell: disable for .ipynb files --- .pre-commit-config.yaml | 4 ++++ examples/DVCLive-HuggingFace.ipynb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35450423..529f3c4a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,6 +28,10 @@ repos: hooks: - id: codespell additional_dependencies: ["tomli"] + exclude: > + (?x)^( + .*\.ipynb + )$ - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: diff --git a/examples/DVCLive-HuggingFace.ipynb b/examples/DVCLive-HuggingFace.ipynb index 6133afb8..2f0a145f 100644 --- a/examples/DVCLive-HuggingFace.ipynb +++ b/examples/DVCLive-HuggingFace.ipynb @@ -66,7 +66,7 @@ "#### Loading the dataset\n", "\n", "We will use the [imdb](https://huggingface.co/datasets/imdb) Large Movie Review Dataset. This is a dataset for binary\n", - "sentiment classification containing a set of 25K movie reviews for traning and\n", + "sentiment classification containing a set of 25K movie reviews for training and\n", "25K for testing.\n" ] },