From 8a23a460d6a5721dae1fed52c69c3c1f8d85ad30 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 15 Apr 2020 23:28:30 -0700 Subject: reviewer: add annotations required by mypy --- python/fatcat_tools/reviewers/review_common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/fatcat_tools/reviewers/review_common.py b/python/fatcat_tools/reviewers/review_common.py index 336a47f6..232dc57d 100644 --- a/python/fatcat_tools/reviewers/review_common.py +++ b/python/fatcat_tools/reviewers/review_common.py @@ -3,6 +3,7 @@ import time import datetime import subprocess from collections import Counter +from typing import Optional, List, Any import fatcat_openapi_client @@ -42,8 +43,8 @@ class CheckResult: class EditCheck: - scope = [] - name = None + scope: List[Any] = [] + name: Optional[str] = None def check_editgroup(self, editgroup): raise NotImplementedError -- cgit v1.2.3