From c02adde9800571b7308ed1d5d3aeecdc41abd4e6 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 18 Apr 2021 11:34:30 +0200 Subject: Formatting test now take all pre-commit hook into acccount --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 13260b56..03ad18a1 100644 --- a/tox.ini +++ b/tox.ini @@ -40,9 +40,9 @@ commands = [testenv:formatting] basepython = python3 deps = - black==20.8b1 -commands = black --check --exclude "tests/testdata" astroid tests -changedir = {toxinidir} + pre-commit~=2.11 +commands = + pre-commit run --all-files [testenv:coveralls] setenv = -- cgit v1.2.1