Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
custom_check: Remove exclusions for comment annotations check.
Anders Kaseorg9972fcc85b7d
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex c28bf610e2f..728a0cafb3d 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -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]"],