From b295569e133755c42d0a91b2e446262f9709cc2e Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Fri, 13 Dec 2019 01:10:40 +0100
Subject: [PATCH] [Tests] Add reformat environment to tox

It calls black and isort on the source tree.
---
 tox.ini | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tox.ini b/tox.ini
index f83b60c70..36ffc63c8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,6 +36,11 @@ commands = poetry build
 [testenv:docs]
 commands = poetry run make -C docs/ html {posargs}
 
+[testenv:reformat]
+commands =
+    poetry run black biscuit/core/
+    poetry run isort -rc biscuit/core/
+
 [flake8]
 max_line_length = 100
 exclude = migrations,tests
-- 
GitLab