From fa2a7c502d47ce8f41bcd7c026f3956ea99681ae Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Sun, 23 Jun 2024 17:44:24 +0200 Subject: [PATCH] Remove exception for lint (MR 2328) There are no violations of this lint any more. This lint only checks that an import is the beginning of a block; it will not be a problem if a test needs to include an import. --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b9df3b4f..da856897 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,6 @@ exclude = ["aports", "docs", "keys", "test", "test.pmb_test"] line-length=100 # Assume Python 3.9 target-version = "py39" -# E402: module import not on top of file, not possible for testcases -lint.ignore=["E402"] [tool.ruff.lint.extend-per-file-ignores] # F401: imported but unused, common for __init__.py files