gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410)

This commit is contained in:
Victor Stinner 2023-06-06 23:08:48 +02:00 committed by GitHub
parent b8c79b2b98
commit d1b0015ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
import argparse import argparse
import contextlib import contextlib
import fnmatch
import logging import logging
import os import os
import os.path import os.path

View File

@ -1,4 +1,4 @@
import re #import re
from ..info import KIND, ParsedItem, FileInfo from ..info import KIND, ParsedItem, FileInfo

View File

@ -2,7 +2,6 @@
import sys import sys
from c_common.scriptutil import ( from c_common.scriptutil import (
CLIArgSpec as Arg,
add_verbosity_cli, add_verbosity_cli,
add_traceback_cli, add_traceback_cli,
add_kind_filtering_cli, add_kind_filtering_cli,

View File

@ -1,5 +1,4 @@
import os.path import os.path
import re
from c_common.clsutil import classonly from c_common.clsutil import classonly
from c_parser.info import ( from c_parser.info import (

View File

@ -45,7 +45,6 @@
# * mingw gcc 3.2/ld 2.13 works # * mingw gcc 3.2/ld 2.13 works
# (ld supports -shared) # (ld supports -shared)
import os
import sys import sys
from subprocess import Popen, PIPE, check_output from subprocess import Popen, PIPE, check_output
import re import re

View File

@ -13,7 +13,7 @@
* link shared library handled by 'cc -shared' * link shared library handled by 'cc -shared'
""" """
import os, sys, re import os, sys
from distutils.dep_util import newer from distutils.dep_util import newer
from distutils.ccompiler import CCompiler, gen_preprocess_options from distutils.ccompiler import CCompiler, gen_preprocess_options