From 255a884438ff3d6fe173339ff134c5ee6b8c8f5b Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 16 Aug 2021 10:27:51 -0400 Subject: [PATCH] fix black check for correct files and update test_types Change-Id: I5e21821ad203a91f9942fd8d29f516ed21824e50 --- test/sql/test_types.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] -- 2.47.2