mirror of https://github.com/zulip/zulip.git
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:
parent
4dce3c54d9
commit
9972fcc85b
|
@ -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]"],
|
||||
|
|
Loading…
Reference in New Issue