add fnhelp and switch to ruff

This commit is contained in:
Daylin Morgan 2023-11-09 15:55:54 -06:00
parent f264a64950
commit 9a9407f7ea
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -1,5 +1,5 @@
# TODO: add support for outputs
#!/usr/bin/env zsh
##? format-qmd - use jupytext and ruff to format qmd
jupytext --from qmd $1 --pipe black --opt 'notebook_metadata_filter=-all'
jupytext --from qmd $1 --pipe 'ruff format {}' --opt 'notebook_metadata_filter=-all'
# vim ft=zsh