----- 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: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:67:9 local variable 'frag' is assigned to but never used builtin/method_io.py:68: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 core/executor.py:45:5 redefinition of unused 'state' from line 25 core/process.py:74:5 redefinition of unused 'pyos' from line 35 core/state.py:517: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:365: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 ----- Linting Python 3 code ----- mycpp/const_pass.py:332:17 local variable 'r' is assigned to but never used mycpp/cppgen_pass.py:936:17 local variable 'fmt_types' is assigned to but never used mycpp/mycpp_main.py:186:5 local variable 'start_time' is assigned to but never used mycpp/mylib.py:517:5 redefinition of unused 'File' from line 123 PASS: check-shebangs