fix(tasks): remove SVG optimization from format task documentation

This commit is contained in:
RaffaelW 2026-03-15 21:04:02 +01:00
parent daa5e2e2b3
commit 1502c0b38f
3 changed files with 4 additions and 6 deletions

1
lib/ArtNet Submodule

@ -0,0 +1 @@
Subproject commit 5d9c42b531404ccfbcb14106d6312b03a166868a

@ -0,0 +1 @@
Subproject commit 38de6ac248c7f270ca3b77ba38512ba39919aed8

View file

@ -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