diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-12 12:03:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-12 12:03:27 +0000 |
commit | d46c288cfdeadb070fa71c744b9970b3f1c7a623 (patch) | |
tree | 729e2a3fd230cfaca2e921e06fbefa9f586a8f98 /tests/clientlib_test.py | |
parent | Releasing debian version 2.13.0-1. (diff) | |
download | pre-commit-d46c288cfdeadb070fa71c744b9970b3f1c7a623.tar.xz pre-commit-d46c288cfdeadb070fa71c744b9970b3f1c7a623.zip |
Merging upstream version 2.14.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/clientlib_test.py')
-rw-r--r-- | tests/clientlib_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clientlib_test.py b/tests/clientlib_test.py index ff3cce3..09bdb3e 100644 --- a/tests/clientlib_test.py +++ b/tests/clientlib_test.py @@ -427,7 +427,7 @@ def test_minimum_pre_commit_version_passing(): @pytest.mark.parametrize('schema', (CONFIG_SCHEMA, CONFIG_REPO_DICT)) def test_warn_additional(schema): allowed_keys = {item.key for item in schema.items if hasattr(item, 'key')} - warn_additional, = [ + warn_additional, = ( x for x in schema.items if isinstance(x, cfgv.WarnAdditionalKeys) - ] + ) assert allowed_keys == set(warn_additional.keys) |