diff --git a/tools/custom_check.py b/tools/custom_check.py index d4342e6..6bd5ea5 100644 --- a/tools/custom_check.py +++ b/tools/custom_check.py @@ -168,6 +168,9 @@ def build_custom_checkers(by_lang): 'exclude': set(['tools/provision']), 'include_only': set(['zulip/', 'tools/', 'zulip_botserver/']), 'description': 'Explicit python invocations should not include a version'}, + {'pattern': '__future__', + 'include_only': set(['zulip_bots/zulip_bots/bots/']), + 'description': 'Bots no longer need __future__ imports.'}, {'pattern': '#!/usr/bin/env python$', 'include_only': set(['zulip_bots/']), 'description': 'Python shebangs must be python3'},