forked from OSchip/llvm-project
Remove unused import and two import forms
argparse was imported with both 'import' and 'import from' and string import was unused, PiperOrigin-RevId: 270164488
This commit is contained in:
parent
9a4f5d2ee3
commit
5002e98b92
|
@ -35,7 +35,6 @@ import argparse
|
|||
import os # Used to advertise this file's name ("autogenerated_note").
|
||||
import re
|
||||
import sys
|
||||
import string
|
||||
|
||||
ADVERT = '// NOTE: Assertions have been autogenerated by '
|
||||
|
||||
|
@ -114,9 +113,8 @@ def preprocess_line(line):
|
|||
|
||||
|
||||
def main():
|
||||
from argparse import RawTextHelpFormatter
|
||||
parser = argparse.ArgumentParser(
|
||||
description=__doc__, formatter_class=RawTextHelpFormatter)
|
||||
description=__doc__, formatter_class=argparse.RawTextHelpFormatter)
|
||||
parser.add_argument(
|
||||
'--check-prefix', default='CHECK', help='Prefix to use from check file.')
|
||||
parser.add_argument(
|
||||
|
|
Loading…
Reference in New Issue