mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Add pyupgrade
This commit is contained in:
parent
a11d9314b2
commit
9cee71b5df
19 changed files with 33 additions and 29 deletions
|
|
@ -10,4 +10,4 @@ def test_readme_contains_all_hooks():
|
|||
readme_contents = io.open('README.md').read()
|
||||
hooks = yaml.load(io.open('hooks.yaml').read())
|
||||
for hook in hooks:
|
||||
assert '`{0}`'.format(hook['id']) in readme_contents
|
||||
assert '`{}`'.format(hook['id']) in readme_contents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue