From af45b136122392813e1ae6dd4088dcfd2ef79ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 26 May 2022 16:06:05 +0200 Subject: [PATCH] Justfile: Add target for formatting --- Justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Justfile b/Justfile index 9503515..c67d7c3 100644 --- a/Justfile +++ b/Justfile @@ -5,6 +5,10 @@ check: test cargo fmt --check cargo clippy --no-deps -- -Dwarnings +fmt: + cargo fmt + git ls-files | grep '\.py$' | xargs black + lint-fix: cargo clippy --no-deps --fix