mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-04-09 03:11:29 +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
8
tasks.py
8
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue