custom_check: Remove exclusions for comment annotations check.

Commit 2762121162 (#21552) made them
unnecessary.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-11-17 17:45:43 -08:00 committed by Tim Abbott
parent 4dce3c54d9
commit 9972fcc85b
1 changed files with 0 additions and 6 deletions

View File

@ -414,12 +414,6 @@ python_rules = RuleList(
},
{
"pattern": r"\S[\t ]*#[\t ]*type:(?![\t ]*ignore)",
"exclude": {
"scripts/lib/hash_reqs.py",
"scripts/lib/setup_venv.py",
"scripts/lib/zulip_tools.py",
"tools/lib/provision.py",
},
"description": "Comment-style variable type annotation. Use Python 3.6 style annotations instead.",
"good_lines": ["a: List[int] = []"],
"bad_lines": ["a = [] # type: List[int]"],