----- Linting Python 2 code ----- asdl/front_end.py:42:30 list comprehension redefines '_' from line 11 asdl/gen_cpp.py:406:13 local variable 'variant_name' is assigned to but never used builtin/completion_osh.py:25:5 redefinition of unused 'ui' from line 11 builtin/error_ysh.py:26:5 redefinition of unused 'ui' from line 13 builtin/func_hay.py:52:9 local variable 'parse_opts' is assigned to but never used builtin/func_reflect.py:74:9 local variable 'index' is assigned to but never used builtin/func_reflect.py:92:9 local variable 'frag' is assigned to but never used builtin/func_reflect.py:93:9 local variable 'frame' is assigned to but never used builtin/func_reflect.py:207:9 local variable 'code_str' is assigned to but never used builtin/json_ysh.py:64:13 local variable 'arg_jw' is assigned to but never used builtin/method_io.py:49:9 local variable 'frag' is assigned to but never used builtin/method_io.py:50:9 local variable 'bound' is assigned to but never used builtin/read_osh.py:304:13 local variable 'lexer' is assigned to but never used builtin/readline_osh.py:9:1 '_devbuild.gen.value_asdl.value' imported but unused builtin/readline_osh.py:37:13 undefined name 'e_usage' builtin/readline_osh.py:148:13 undefined name 'e_usage' builtin/readline_osh.py:197:17 undefined name 'e_usage' builtin/readline_osh.py:213:17 undefined name 'e_usage' builtin/readline_osh.py:218:13 undefined name 'e_usage' core/executor.py:41:5 redefinition of unused 'state' from line 25 core/process.py:73:5 redefinition of unused 'pyos' from line 35 core/state.py:630:9 local variable 'success' is assigned to but never used data_lang/j8.py:138:30 list comprehension redefines 'b' from line 133 doctools/cmark.py:374:17 local variable 'text' is assigned to but never used doctools/help_gen.py:364:17 local variable 'open_tag_right' is assigned to but never used doctools/oils_doc.py:28:5 local variable 'tag_lexer' is assigned to but never used doctools/oils_doc.py:568:17 local variable 'pre_start_pos' is assigned to but never used doctools/ref_check.py:36:5 local variable 'section_check' is assigned to but never used osh/glob_.py:214:23 list comprehension redefines '_' from line 207 osh/glob_.py:370:17 local variable 'is_glob' is assigned to but never used osh/split.py:80:34 list comprehension redefines 'buf' from line 64 osh/word_eval.py:1082:13 local variable 'UP_val' is assigned to but never used osh/word_parse.py:966:9 local variable 'right_token' is assigned to but never used tools/ysh_ify.py:336:9 local variable 'op_id' is assigned to but never used tools/ysh_ify.py:410:9 local variable 'has_rhs' is assigned to but never used tools/ysh_ify.py:422:17 local variable 'lhs0' is assigned to but never used tools/ysh_ify.py:429:13 local variable 'has_array_index' is assigned to but never used tools/ysh_ify.py:682:17 local variable 'UP_iterable' is assigned to but never used yaks/gen_cpp.py:6:1 redefinition of unused 'Int' from line 6 benchmarks/pytrace.py:91:9 use of >> is invalid with print function benchmarks/time_.py:222:5 local variable 'elapsed' is assigned to but never used benchmarks/uftrace_plugin.py:53:5 local variable 'func' is assigned to but never used build/c_module_toc.py:18:3 local variable 'c_module_srcs' is assigned to but never used build/cpython_defs.py:437:7 local variable 'basename' is assigned to but never used build/ninja_lib.py:275:13 local variable 'key' is assigned to but never used