lint: Improve over-aggressive pattern botserver->Botserver pattern.

This is still not a great pattern, but this is sufficient to avoid it
firing on URLs of the form zulipbotserver.example.com.
This commit is contained in:
Tim Abbott 2019-08-28 16:17:31 -07:00
parent 9e481e353a
commit 83a012eaeb
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ prose_style_rules = [
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
{'pattern': 'Terms of service',
'description': "The S in Terms of Service is capitalized"},
{'pattern': '[^-_]botserver(?!rc)|bot server',
{'pattern': '[^-_p]botserver(?!rc)|bot server',
'description': "Use Botserver instead of botserver or bot server."},
*comma_whitespace_rule,
] # type: List[Rule]