mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-90110: Get the C Analyzer Tool Working Again (gh-95545)
This commit is contained in:
parent
c7e5bbaee8
commit
a7161f95aa
4 changed files with 118 additions and 5 deletions
|
@ -1,7 +1,9 @@
|
|||
import sys
|
||||
|
||||
from cpython.__main__ import main, configure_logger
|
||||
|
||||
|
||||
def parse_args():
|
||||
def parse_args(argv=sys.argv[1:]):
|
||||
import argparse
|
||||
from c_common.scriptutil import (
|
||||
add_verbosity_cli,
|
||||
|
@ -13,7 +15,8 @@ def parse_args():
|
|||
processors = [
|
||||
add_verbosity_cli(parser),
|
||||
add_traceback_cli(parser),
|
||||
_cli_check(parser, checks='<globals>'),
|
||||
#_cli_check(parser, checks='<globals>'),
|
||||
_cli_check(parser),
|
||||
]
|
||||
|
||||
args = parser.parse_args()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue