Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Tools/c-analyzer/c_common/scriptutil.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import argparse
import contextlib
import fnmatch
import logging
import os
import os.path
Expand Down
2 changes: 1 addition & 1 deletion Tools/c-analyzer/c_parser/parser/_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import re
#import re

from ..info import KIND, ParsedItem, FileInfo

Expand Down
1 change: 0 additions & 1 deletion Tools/c-analyzer/c_parser/preprocessor/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys

from c_common.scriptutil import (
CLIArgSpec as Arg,
add_verbosity_cli,
add_traceback_cli,
add_kind_filtering_cli,
Expand Down
1 change: 0 additions & 1 deletion Tools/c-analyzer/cpython/_analyzer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os.path
import re

from c_common.clsutil import classonly
from c_parser.info import (
Expand Down
1 change: 0 additions & 1 deletion Tools/c-analyzer/distutils/cygwinccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
# * mingw gcc 3.2/ld 2.13 works
# (ld supports -shared)

import os
import sys
from subprocess import Popen, PIPE, check_output
import re
Expand Down
2 changes: 1 addition & 1 deletion Tools/c-analyzer/distutils/unixccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* link shared library handled by 'cc -shared'
"""

import os, sys, re
import os, sys

from distutils.dep_util import newer
from distutils.ccompiler import CCompiler, gen_preprocess_options
Expand Down