From 3683b977f7d5cc0c0c4dc7944288a57271324b96 Mon Sep 17 00:00:00 2001 From: robert-hh Date: Fri, 22 Sep 2023 08:34:27 +0200 Subject: [PATCH] pyproject.toml: Add a rule for manifest_*.py files at ports/**/mcu. These were not covered yet and the mcu scheme can be useful for other ports as well. Alternatively, the second rule could just be refer to "**/manifest_*.py" instead of "ports/**/boards/**/manifest_*.py". Signed-off-by: robert-hh --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index e44afe37e0..6470c4626a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ max-complexity = 40 # manifest.py files are evaluated with some global names pre-defined "**/manifest.py" = ["F821"] "ports/**/boards/**/manifest_*.py" = ["F821"] +"ports/**/mcu/**/manifest_*.py" = ["F821"] [tool.ruff.format] # Exclude third-party code, and exclude the following tests: