[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-05-24 17:20:16 +00:00
parent 1d2cde763c
commit d3c5cd6ee2
2 changed files with 3 additions and 3 deletions

View file

@ -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