From f7a6b4dfbf807baa5d9927625004a64762d0ff8a Mon Sep 17 00:00:00 2001 From: Jack Gerrits Date: Tue, 27 Feb 2024 14:35:02 -0500 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c2f1c5bcb2f..db89b0f034b6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,5 +47,6 @@ repos: rev: 1.7.1 hooks: - id: nbqa-ruff - args: ["--fix"] + # Don't require notebooks to have all imports at the top + args: ["--fix", "--ignore=E402"] - id: nbqa-black