]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Also run black --check in the tox pep8 env
authorFederico Caselli <cfederico87@gmail.com>
Tue, 10 Mar 2020 18:49:39 +0000 (19:49 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 10 Mar 2020 19:05:46 +0000 (20:05 +0100)
Change-Id: I3b86bb3b4263048646676972bb2a870c7e2a7393

test/test_deprecations.py
tox.ini

index a70eea1370c1f2e5614b9828f80d78003cb9c13d..19a8c54cc5f900b2ed1e6a44ecb8d664050a73d2 100644 (file)
@@ -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 090d236ef5c68ecf6a041fd82b6a7d41025e97c2..5933e2462885ca19399c2b96b194f77bc4562155 100644 (file)
--- 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 .