From: Mike Bayer Date: Mon, 16 Aug 2021 14:27:51 +0000 (-0400) Subject: fix black check for correct files and update test_types X-Git-Tag: rel_1_4_23~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=255a884438ff3d6fe173339ff134c5ee6b8c8f5b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix black check for correct files and update test_types Change-Id: I5e21821ad203a91f9942fd8d29f516ed21824e50 --- diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 228d9fe3bd..261c3ed10d 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -2560,7 +2560,7 @@ class EnumTest(AssertsCompiledSQL, fixtures.TablesTest): (True, "omit_alias"), (False, "with_alias"), id_="ai", argnames="omit" ) @testing.provide_metadata - @testing.skip_if('mysql < 8') + @testing.skip_if("mysql < 8") def test_duplicate_values_accepted(self, native, omit): foo_enum = pep435_enum("foo_enum") foo_enum("one", 1, "two") diff --git a/tox.ini b/tox.ini index 5df14fe67c..e20671b698 100644 --- a/tox.ini +++ b/tox.ini @@ -154,7 +154,7 @@ deps= black==21.5b1 commands = flake8 ./lib/ ./test/ ./examples/ setup.py doc/build/conf.py {posargs} - black --check . + black --check ./lib/ ./test/ ./examples/ setup.py doc/build/conf.py # command run in the github action when cext are active. [testenv:github-cext]