From 350d0bc7b07a85ebaa7c9d94dffcfd4f08742902 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 10 May 2020 12:18:18 +0300 Subject: test: run black in check mode as part of ./check Life is too short to format code by hand. --- check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check b/check index 4e4f4d0..cde86a6 100755 --- a/check +++ b/check @@ -2,4 +2,6 @@ set -eu +rm -f test.py +black --check contractor *.py CONTRACTOR_ADDRESS="$1" sp-codegen contractor.md -o test.py --run -- cgit v1.2.1