----- Linting Python 2 code ----- asdl/front_end.py:46:30 list comprehension redefines '_' from line 14 asdl/gen_cpp.py:396:13 local variable 'variant_name' is assigned to but never used asdl/gen_cpp.py:608:9 local variable 'c_item_type' is assigned to but never used builtin/func_hay.py:58:9 local variable 'parse_opts' is assigned to but never used builtin/func_reflect.py:98:9 local variable 'frag' is assigned to but never used builtin/func_reflect.py:99:9 local variable 'frame' is assigned to but never used builtin/func_reflect.py:213: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:96:9 local variable 'frag' is assigned to but never used builtin/method_io.py:97:9 local variable 'bound' is assigned to but never used builtin/read_osh.py:301:13 local variable 'lexer' is assigned to but never used core/bash_impl.py:144:5 local variable 'strs' is assigned to but never used core/dev.py:15:1 redefinition of unused 'bash_impl' from line 13 core/state.py:518:9 local variable 'success' is assigned to but never used data_lang/j8.py:132:30 list comprehension redefines 'b' from line 127 doctools/cmark.py:393:17 local variable 'text' is assigned to but never used doctools/help_gen.py:365:17 local variable 'open_tag_right' is assigned to but never used doctools/oils_doc.py:31:5 local variable 'tag_lexer' is assigned to but never used doctools/oils_doc.py:575: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:215:23 list comprehension redefines '_' from line 208 osh/glob_.py:371:17 local variable 'is_glob' is assigned to but never used osh/split.py:80:34 list comprehension redefines 'buf' from line 64 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 benchmarks/pytrace.py:91:9 use of >> is invalid with print function benchmarks/time_.py:208:5 local variable 'start_time' 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 ----- Linting Python 3 code ----- mycpp/cppgen_pass.py:1034:17 local variable 'fmt_types' is assigned to but never used mycpp/translate.py:52:9 local variable 'elapsed' is assigned to but never used pea/NINJA_subgraph.py:13:5 local variable 'n' is assigned to but never used pea/gen_cpp.py:38:13 import 'stmt' from line 2 shadowed by loop variable pea/gen_cpp.py:57:13 import 'stmt' from line 2 shadowed by loop variable pea/gen_cpp.py:76:13 import 'stmt' from line 2 shadowed by loop variable pea/gen_cpp.py:120:9 local variable 'ind_str' is assigned to but never used pea/gen_cpp.py:122:13 import 'stmt' from line 2 shadowed by loop variable pea/gen_cpp.py:148:13 import 'stmt' from line 2 shadowed by loop variable pea/gen_cpp.py:157:13 import 'stmt' from line 2 shadowed by loop variable pea/pea_main.py:102:13 local variable 'namespace' is assigned to but never used ----- Checking Python and shell shebang lines ----- PASS: check-shebangs