From 1f6566abd27dbec85e8062ed88eb295391977515 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 15 Sep 2025 11:28:10 -0700 Subject: [PATCH] Configure tools to exclude folders containing generated files --- .flake8 | 8 ++++++++ .markdownlintignore | 3 +++ 2 files changed, 11 insertions(+) diff --git a/.flake8 b/.flake8 index efde3a0cc..0294fbbee 100644 --- a/.flake8 +++ b/.flake8 @@ -5,6 +5,14 @@ [flake8] doctests = True +exclude = + __pycache__/ + .git/ + /.licenses/ + /docs/commands/ + /docs/rules/ + /site/ + node_modules/ # W503 and W504 are mutually exclusive. PEP 8 recommends line break before. ignore = W503 max-complexity = 10 diff --git a/.markdownlintignore b/.markdownlintignore index 6cec4c9e3..b75a38025 100644 --- a/.markdownlintignore +++ b/.markdownlintignore @@ -1,4 +1,7 @@ # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-markdown/.markdownlintignore /.licenses/ +/docs/commands/*.md +/docs/rules/ +/site/ __pycache__/ node_modules/