diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-04-15 23:28:30 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-02 17:02:49 -0700 |
commit | 8a23a460d6a5721dae1fed52c69c3c1f8d85ad30 (patch) | |
tree | 84385748ef6a3082cfa376bd970387a9ddd46430 /python/fatcat_tools | |
parent | 7b00bb48cf71929c7bcdb5c295b89634767ded04 (diff) | |
download | fatcat-8a23a460d6a5721dae1fed52c69c3c1f8d85ad30.tar.gz fatcat-8a23a460d6a5721dae1fed52c69c3c1f8d85ad30.zip |
reviewer: add annotations required by mypy
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/reviewers/review_common.py | 5 |
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 |