mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-04-07 10:22:21 +00:00
fix(tasks): remove SVG optimization from format task documentation
This commit is contained in:
parent
daa5e2e2b3
commit
1502c0b38f
3 changed files with 4 additions and 6 deletions
1
lib/ArtNet
Submodule
1
lib/ArtNet
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5d9c42b531404ccfbcb14106d6312b03a166868a
|
||||||
1
lib/AsyncWebServer_ESP32_W5500
Submodule
1
lib/AsyncWebServer_ESP32_W5500
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 38de6ac248c7f270ca3b77ba38512ba39919aed8
|
||||||
8
tasks.py
8
tasks.py
|
|
@ -85,12 +85,8 @@ def reset(c):
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def format(c):
|
def format(c):
|
||||||
"""Format all source files using pre-commit hooks and optimize SVGs"""
|
"""Format all source files using pre-commit hooks"""
|
||||||
print("\nOptimizing SVG files...")
|
|
||||||
c.run(
|
|
||||||
"find . -name '*.svg' -not -path './build/*' -not -path './managed_components/*' | xargs -r svgo --quiet --final-newline",
|
|
||||||
warn=True,
|
|
||||||
)
|
|
||||||
is_windows = os.name == "nt"
|
is_windows = os.name == "nt"
|
||||||
if is_windows:
|
if is_windows:
|
||||||
# Windows doesn't provide a POSIX pty
|
# Windows doesn't provide a POSIX pty
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue