From dea467ccd7ee60082db8b5eacfb2662ce9cd2dea Mon Sep 17 00:00:00 2001 From: rht Date: Wed, 1 Apr 2020 23:30:39 -0400 Subject: [PATCH] lint: Remove explicit python invocation check. --- tools/custom_check.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/custom_check.py b/tools/custom_check.py index a0bead5..80c8020 100644 --- a/tools/custom_check.py +++ b/tools/custom_check.py @@ -74,11 +74,6 @@ python_rules = RuleList( 'description': 'Used % comprehension without a tuple'}, {'pattern': '.*%s.* % \([a-zA-Z0-9_.]*\)$', 'description': 'Used % comprehension without a tuple'}, - # 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/']), - '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.'},