pre-commit-hooks: python3.6.1+

This commit is contained in:
Anthony Sottile 2020-02-24 10:57:26 -08:00
parent fd3bcbd96a
commit 261fb3d66c
3 changed files with 5 additions and 4 deletions

View file

@ -46,7 +46,7 @@ def test_integration_good_bad_lines(tmpdir, bad_lines, good_lines, retval):
assert main([file_path]) == retval
with open(file_path, 'r') as f:
with open(file_path) as f:
assert [line.rstrip() for line in f.readlines()] == good_lines