diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-12 12:03:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-12 12:03:24 +0000 |
commit | db201c7e8329ebc584fbebcc18f5b64825f6d023 (patch) | |
tree | eed388903a58a2988bdf587ee7c7622d167226f7 /tests/repository_test.py | |
parent | Adding upstream version 2.13.0. (diff) | |
download | pre-commit-2188dbcdddf01a62756012f370d864f5deff2264.tar.xz pre-commit-2188dbcdddf01a62756012f370d864f5deff2264.zip |
Adding upstream version 2.14.0.upstream/2.14.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/repository_test.py')
-rw-r--r-- | tests/repository_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/repository_test.py b/tests/repository_test.py index b6f7fb2..af829c2 100644 --- a/tests/repository_test.py +++ b/tests/repository_test.py @@ -51,7 +51,7 @@ def _get_hook_no_install(repo_config, store, hook_id): config = cfgv.validate(config, CONFIG_SCHEMA) config = cfgv.apply_defaults(config, CONFIG_SCHEMA) hooks = all_hooks(config, store) - hook, = [hook for hook in hooks if hook.id == hook_id] + hook, = (hook for hook in hooks if hook.id == hook_id) return hook |