Update pre-commit versions and fix black break (#160)

Caught by black stable change, done by `pre-commit autoupdate`

`pre-commit autoupdate` also wanted to update pre-commit-hooks, but that gave me some pyenv errors so I'm leaving it alone for now.
This commit is contained in:
Jon Meow
2020-09-15 09:00:24 -07:00
committed by GitHub
parent b739cf30ae
commit 98ebae62a6
5 changed files with 30 additions and 25 deletions
+5 -2
View File
@@ -191,7 +191,9 @@ class TestPRComments(unittest.TestCase):
]
for thread in review_threads:
pr_comments._accumulate_thread(
parsed_args, threads_by_path, thread,
parsed_args,
threads_by_path,
thread,
)
self.assertEqual(sorted(threads_by_path.keys()), ["foo.md", "other.md"])
threads = sorted(threads_by_path["foo.md"])
@@ -209,7 +211,8 @@ class TestPRComments(unittest.TestCase):
@staticmethod
def fake_pr_comment_dict(
body="comment", created_at="2001-02-03T04:05:06Z",
body="comment",
created_at="2001-02-03T04:05:06Z",
):
pr_comment_dict = {
"author": {"login": "author"},