2017-03-28 5 views

답변

0

https://pylint.readthedocs.io/en/latest/user_guide/output.html이 현재 불가능합니다. pylint의 코드에 쉽게 추가 할 수 있습니다.

index 258bfdc3..30bac9f1 100644 
--- a/pylint/lint.py 
+++ b/pylint/lint.py 
@@ -839,6 +839,8 @@ class PyLinter(config.OptionsManagerMixIn, 
      if not self.should_analyze_file(modname, filepath, is_argument=is_arg): 
       continue 

+   print(modname) 
+ 
      self.set_current_module(modname, filepath) 
      # get the module representation 
      ast_node = self.get_ast(filepath, modname) 

그러나 나는이 옵션을 사용하여 적절한 풀 요청을하지 못했습니다. 내 코드에서

+0

여전히 출력에 도착하지 않았다. 어쩌면'pylint'가 라이브러리로 실행 되었기 때문일 수도 있습니다. 그래서,'pylinrc' 파일에 파일 보고서 옵션을 설정하고 나중에 보고서를 필터링해야했다. –

+0

이 버그 리포트를 추가 https://github.com/PyCQA/pylint/issues/1414 –