From 165237f983b839aac6930043563daa3fc017c812 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 28 Sep 2023 12:00:26 +0200 Subject: [PATCH] chore: Ignore top level imports warning Since we import things at any point in the file, in any potential cell, we can just ignore the flake8 ruff warning about it. --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 013a3db..d68786b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ bibtexparser = {version = ">=2.0.0b1", allow-prereleases = true} jupyter = "^1.0.0" jupyter-cache = "^0.6.1" - [tool.poetry.group.dev.dependencies] pynvim = "^0.4.3" pyperclip = "^1.8.2" @@ -21,3 +20,6 @@ pyperclip = "^1.8.2" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + +[tool.ruff] +ignore = ["E402"]