From 2b494329fb960fae31b7c8285ae11b2ef2f46f3c Mon Sep 17 00:00:00 2001 From: Willem Van Onsem Date: Fri, 16 Aug 2024 00:18:36 +0200 Subject: [PATCH] reformat sql queries --- format.sh | 3 ++- install.sh | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 install.sh diff --git a/format.sh b/format.sh index 02574bb..9090373 100755 --- a/format.sh +++ b/format.sh @@ -8,6 +8,7 @@ format () { fi } +format '*.hs' ormolu +format '*.sql' sqlformat -reindent -s -keywords upper -identifiers lower format '*.py' python -m isort format '*.py' python -m black -- -S -q -format '*.hs' ormolu diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..8ef5bed --- /dev/null +++ b/install.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +pip install --upgrade black isort + +