From 898f8255e051ee6a64099723f21f31980ecdd380 Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Fri, 7 May 2021 12:43:32 -0700 Subject: Blacken. --- .pre-commit-config.yaml | 2 +- tests/test_smart_completion_multiple_schemata.py | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b970ac5e..9e27ab8e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: stable + rev: 21.5b0 hooks: - id: black language_version: python3.7 diff --git a/tests/test_smart_completion_multiple_schemata.py b/tests/test_smart_completion_multiple_schemata.py index 031e0301..5c9c9af4 100644 --- a/tests/test_smart_completion_multiple_schemata.py +++ b/tests/test_smart_completion_multiple_schemata.py @@ -355,7 +355,9 @@ def test_schema_qualified_function_name_after_from(completer): text = "SELECT * FROM custom.set_r" result = get_result(completer, text) assert completions_to_set(result) == completions_to_set( - [function("set_returning_func()", -len("func")),] + [ + function("set_returning_func()", -len("func")), + ] ) @@ -372,7 +374,9 @@ def test_unqualified_function_name_in_search_path(completer): text = "SELECT * FROM set_r" result = get_result(completer, text) assert completions_to_set(result) == completions_to_set( - [function("set_returning_func()", -len("func")),] + [ + function("set_returning_func()", -len("func")), + ] ) -- cgit v1.2.3