diff options
author | Amjith Ramanujam <amjith@netflix.com> | 2021-05-07 12:43:32 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith@netflix.com> | 2021-05-07 12:43:32 -0700 |
commit | 898f8255e051ee6a64099723f21f31980ecdd380 (patch) | |
tree | 2235b0a531bdf4122431310a252a31139e85d9a1 | |
parent | c196c28e781b6abd9ff2359109528c883436870d (diff) |
Blacken.
-rw-r--r-- | .pre-commit-config.yaml | 2 | ||||
-rw-r--r-- | 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")), + ] ) |