tools: Disable python3 shebang lint check for botserver.
Since the botserver can be run directly after installation via pip,
and only supports Python 3, we definitely want the explicit shebang
lines there.
We only don't want this in zulip/, which supports Python 2+3.
@@ -165,7 +165,7 @@ def build_custom_checkers(by_lang):
# This rule might give false positives in virtualenv setup files which should be excluded,
# and comments which should be rewritten to avoid use of "python2", "python3", etc.
{'pattern': 'python[23]',
- 'include_only': set(['zulip/', 'zulip_botserver/']),
+ 'include_only': set(['zulip/']),
'description': 'Explicit python invocations should not include a version'},
{'pattern': '__future__',
'include_only': set(['zulip_bots/zulip_bots/bots/']),
