From d8378f45bbb2a63eb1e396506f175e2f203b9cb3 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Tue, 10 Mar 2020 19:49:39 +0100 Subject: [PATCH] Also run black --check in the tox pep8 env Change-Id: I3b86bb3b4263048646676972bb2a870c7e2a7393 --- test/test_deprecations.py | 2 +- tox.ini | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/test_deprecations.py b/test/test_deprecations.py index a70eea1370..19a8c54cc5 100644 --- a/test/test_deprecations.py +++ b/test/test_deprecations.py @@ -9,4 +9,4 @@ class DeprecationWarningsTest(fixtures.TestBase): with expect_deprecated_20( "The `database` package is deprecated and will be removed in v2.0 " ): - import_('sqlalchemy.databases') + import_("sqlalchemy.databases") diff --git a/tox.ini b/tox.ini index 090d236ef5..5933e24628 100644 --- a/tox.ini +++ b/tox.ini @@ -95,4 +95,7 @@ deps= pydocstyle<4.0.0 # used by flake8-rst-docstrings pygments -commands = flake8 ./lib/ ./test/ ./examples/ setup.py doc/build/conf.py + black==19.10b0 +commands = + flake8 ./lib/ ./test/ ./examples/ setup.py doc/build/conf.py + black --check . -- 2.47.3