----- 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/func_hay.py:52:9 local variable 'parse_opts' is assigned to but never used builtin/json_ysh.py:64:13 local variable 'arg_jw' is assigned to but never used builtin/read_osh.py:304:13 local variable 'lexer' is assigned to but never used core/executor.py:41:5 redefinition of unused 'state' from line 25 core/state.py:602:9 local variable 'success' is assigned to but never used data_lang/j8.py:141:30 list comprehension redefines 'b' from line 136 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_compile.py:229:13 local variable 'line_ended' is assigned to but never used osh/word_eval.py:1080:13 local variable 'UP_val' is assigned to but never used osh/word_parse.py:960: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 ysh/expr_eval.py:959:9 local variable 'UP_o' is assigned to but never used 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:432:7 local variable 'basename' is assigned to but never used build/ninja_lib.py:261:7 local variable 'key' is assigned to but never used ----- Linting Python 3 code ----- mycpp/const_pass.py:332:17 local variable 'r' is assigned to but never used mycpp/cppgen_pass.py:928:17 local variable 'fmt_types' is assigned to but never used mycpp/mycpp_main.py:178:5 local variable 'start_time' is assigned to but never used mycpp/mylib.py:508:5 redefinition of unused 'File' from line 117 PASS: check-shebangs