From 1502c0b38ff524db2e5447b7b73373cf18c44d8c Mon Sep 17 00:00:00 2001 From: RaffaelW <146560011+RaffaelW@users.noreply.github.com> Date: Sun, 15 Mar 2026 21:04:02 +0100 Subject: [PATCH] fix(tasks): remove SVG optimization from format task documentation --- lib/ArtNet | 1 + lib/AsyncWebServer_ESP32_W5500 | 1 + tasks.py | 8 ++------ 3 files changed, 4 insertions(+), 6 deletions(-) create mode 160000 lib/ArtNet create mode 160000 lib/AsyncWebServer_ESP32_W5500 diff --git a/lib/ArtNet b/lib/ArtNet new file mode 160000 index 0000000..5d9c42b --- /dev/null +++ b/lib/ArtNet @@ -0,0 +1 @@ +Subproject commit 5d9c42b531404ccfbcb14106d6312b03a166868a diff --git a/lib/AsyncWebServer_ESP32_W5500 b/lib/AsyncWebServer_ESP32_W5500 new file mode 160000 index 0000000..38de6ac --- /dev/null +++ b/lib/AsyncWebServer_ESP32_W5500 @@ -0,0 +1 @@ +Subproject commit 38de6ac248c7f270ca3b77ba38512ba39919aed8 diff --git a/tasks.py b/tasks.py index e97fe48..bc5e81f 100644 --- a/tasks.py +++ b/tasks.py @@ -85,12 +85,8 @@ def reset(c): @task def format(c): - """Format all source files using pre-commit hooks and optimize SVGs""" - print("\nOptimizing SVG files...") - c.run( - "find . -name '*.svg' -not -path './build/*' -not -path './managed_components/*' | xargs -r svgo --quiet --final-newline", - warn=True, - ) + """Format all source files using pre-commit hooks""" + is_windows = os.name == "nt" if is_windows: # Windows doesn't provide a POSIX pty