From: Federico Caselli Date: Tue, 10 Mar 2020 18:49:39 +0000 (+0100) Subject: Also run black --check in the tox pep8 env X-Git-Tag: rel_1_4_0b1~476^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8378f45bbb2a63eb1e396506f175e2f203b9cb3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Also run black --check in the tox pep8 env Change-Id: I3b86bb3b4263048646676972bb2a870c7e2a7393 --- 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 .