Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lint: Exclude `zerver/views/development/` from i18n lint rules.

akshatdalton3da6f3c0afe9
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index ad3fc90825e..3ecfea07849 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -328,8 +328,8 @@ python_rules = RuleList(
},
{
"pattern": r"""\Wjson_error\(['"].+[),]$""",
- "exclude": {"zerver/tests"},
- "description": "Argument to json_error should a literal string enclosed by _()",
+ "exclude": {"zerver/tests", "zerver/views/development/"},
+ "description": "Argument to json_error should be a literal string enclosed by _()",
},
# To avoid JsonableError(_variable) and JsonableError(_(variable))
{