From 82230a97bcc21f69ffa03a0a0183b55aa952f9e1 Mon Sep 17 00:00:00 2001 From: Serene-Arc Date: Sat, 3 Dec 2022 15:28:53 +1000 Subject: [PATCH] Add formatting check option --- tox.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tox.ini b/tox.ini index a5b8495..672927b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,7 @@ [tox] envlist = format + format_check [testenv:format] deps = @@ -11,6 +12,15 @@ commands = isort bdfr tests black bdfr tests --line-length 120 +[testenv:format_check] +deps = + isort + black +skip_install = True +commands = + isort bdfr tests --check + black bdfr tests --line-length 120 --check + [isort] profile = black multi_line_output = 3