summaryrefslogtreecommitdiffstatshomepage
path: root/tools/codeformat.py
diff options
context:
space:
mode:
authorDaniël van de Giessen <daniel@dvdgiessen.nl>2023-08-09 12:50:24 +0200
committerDamien George <damien@micropython.org>2023-08-10 11:36:24 +1000
commit8dbb29da3fe733f5a1350c5f9d3d7c3bc71870d5 (patch)
tree87abb0fa77b212a236815dc5ed1c79b21ae0727b /tools/codeformat.py
parent597fcb47518c842d445975961737832569fe3529 (diff)
downloadmicropython-8dbb29da3fe733f5a1350c5f9d3d7c3bc71870d5.tar.gz
micropython-8dbb29da3fe733f5a1350c5f9d3d7c3bc71870d5.zip
tools/codeformat.py: Skip formatting ESP-IDF managed components.
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'tools/codeformat.py')
-rwxr-xr-xtools/codeformat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/codeformat.py b/tools/codeformat.py
index 517aced37a..93a4b14123 100755
--- a/tools/codeformat.py
+++ b/tools/codeformat.py
@@ -60,6 +60,8 @@ PATHS = [
EXCLUSIONS = [
# The cc3200 port is not fully formatted yet.
"ports/cc3200/*/*.[ch]",
+ # ESP-IDF downloads 3rd party code.
+ "ports/esp32/managed_components/*",
# The nrf port is not fully formatted yet.
"ports/nrf/boards/*.[ch]",
"ports/nrf/device/*.[ch]",