summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-04-15 23:28:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 17:02:49 -0700
commit8a23a460d6a5721dae1fed52c69c3c1f8d85ad30 (patch)
tree84385748ef6a3082cfa376bd970387a9ddd46430 /python
parent7b00bb48cf71929c7bcdb5c295b89634767ded04 (diff)
downloadfatcat-8a23a460d6a5721dae1fed52c69c3c1f8d85ad30.tar.gz
fatcat-8a23a460d6a5721dae1fed52c69c3c1f8d85ad30.zip
reviewer: add annotations required by mypy
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/reviewers/review_common.py5
1 files changed, 3 insertions, 2 deletions
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