From f73826f7bf5f38cb89f11a290d5d2a17c1326d6e Mon Sep 17 00:00:00 2001 From: Fstei Date: Wed, 25 Sep 2024 12:41:33 +0200 Subject: [PATCH] add formatcheck --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 417a44e..ce21061 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = linting coverage type_check + formatcheck skip_missing_interpreters = True skipsdist = True @@ -42,6 +43,13 @@ commands = mypy --show-error-codes main.py # add single files (ending with .py) or packages here +[testenv:formatcheck] +deps = + .[formatting] +commands = + black . --check + isort . --check + [testenv:spell_check] # the spellcheck environment checks the code for typos setenv = PYTHONPATH = {toxinidir}/src