From 9a9407f7ea158e76ed3bd590a72c6fe8ceb5805e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 9 Nov 2023 15:55:54 -0600 Subject: [PATCH] add fnhelp and switch to ruff --- home/private_dot_config/zsh/functions/format-qmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/private_dot_config/zsh/functions/format-qmd b/home/private_dot_config/zsh/functions/format-qmd index 2bcd554..4b7975a 100644 --- a/home/private_dot_config/zsh/functions/format-qmd +++ b/home/private_dot_config/zsh/functions/format-qmd @@ -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