chore: bump pylint to 2.17 (#41576)
* build: bump pylint to 2.17 Xref: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5062345 * fix pylint consider-using-f-string warnings pt 1: use flynt for automated fixes * fix pylint consider-using-f-string warnings pt 2: manual fixes * fix pylint consider-using-with warnings * fix pylint line-too-long warnings * fix pylint unspecified-encoding warnings * fix py lint consider-using-generator warning * fixup! fix pylint unspecified-encoding warnings * fix pylint line-too-long warnings
This commit is contained in:
		
					parent
					
						
							
								00da7279cb
							
						
					
				
			
			
				commit
				
					
						61ddb1aa07
					
				
			
		
					 25 changed files with 193 additions and 205 deletions
				
			
		| 
						 | 
				
			
			@ -21,14 +21,15 @@ def main():
 | 
			
		|||
 | 
			
		||||
  chromedriver_path = os.path.join(
 | 
			
		||||
    args.source_root, args.build_dir, chromedriver_name[sys.platform])
 | 
			
		||||
  proc = subprocess.Popen([chromedriver_path],
 | 
			
		||||
                          stdout=subprocess.PIPE, universal_newlines=True)
 | 
			
		||||
  try:
 | 
			
		||||
    output = proc.stdout.readline()
 | 
			
		||||
  except KeyboardInterrupt:
 | 
			
		||||
    returncode = 0
 | 
			
		||||
  finally:
 | 
			
		||||
    proc.terminate()
 | 
			
		||||
  with subprocess.Popen([chromedriver_path],
 | 
			
		||||
                        stdout=subprocess.PIPE,
 | 
			
		||||
                        universal_newlines=True) as proc:
 | 
			
		||||
    try:
 | 
			
		||||
      output = proc.stdout.readline()
 | 
			
		||||
    except KeyboardInterrupt:
 | 
			
		||||
      returncode = 0
 | 
			
		||||
    finally:
 | 
			
		||||
      proc.terminate()
 | 
			
		||||
 | 
			
		||||
  returncode = 0
 | 
			
		||||
  match = re.search(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue