Enabled hacking checks H305 and H307
* H305 imports not grouped correctly * H307 like imports should be grouped together Change-Id: Ia4b376a90fed830ceea4b91caa920ff38263df5e
This commit is contained in:
		@@ -18,16 +18,17 @@ implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License."""
 | 
			
		||||
 | 
			
		||||
import argparse
 | 
			
		||||
import datetime
 | 
			
		||||
import json
 | 
			
		||||
import os
 | 
			
		||||
import pkg_resources
 | 
			
		||||
import re
 | 
			
		||||
import shlex
 | 
			
		||||
import subprocess
 | 
			
		||||
import sys
 | 
			
		||||
import textwrap
 | 
			
		||||
 | 
			
		||||
import pkg_resources
 | 
			
		||||
import requests
 | 
			
		||||
 | 
			
		||||
if sys.version < '3':
 | 
			
		||||
@@ -40,6 +41,7 @@ if sys.version < '3':
 | 
			
		||||
    do_input = raw_input
 | 
			
		||||
else:
 | 
			
		||||
    import configparser as ConfigParser
 | 
			
		||||
 | 
			
		||||
    import urllib.parse
 | 
			
		||||
    import urllib.request
 | 
			
		||||
    urlencode = urllib.parse.urlencode
 | 
			
		||||
@@ -1036,8 +1038,6 @@ def convert_bool(one_or_zero):
 | 
			
		||||
def main():
 | 
			
		||||
    usage = "git review [OPTIONS] ... [BRANCH]"
 | 
			
		||||
 | 
			
		||||
    import argparse
 | 
			
		||||
 | 
			
		||||
    class DownloadFlag(argparse.Action):
 | 
			
		||||
        """Additional option parsing: store value in 'dest', but
 | 
			
		||||
           at the same time set one of the flag options to True
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user