0
체크되고 있음?보고서 파일 이름 (아마도 카운터) <strong>pylint</strong> 인쇄 파일 이름을 만드는 방법
문서는 문제가 발견되면 메시지를 포맷,하지만 어떻게 진행 상황을보고하지 않는 방법을 보여줍니다.
체크되고 있음?보고서 파일 이름 (아마도 카운터) <strong>pylint</strong> 인쇄 파일 이름을 만드는 방법
문서는 문제가 발견되면 메시지를 포맷,하지만 어떻게 진행 상황을보고하지 않는 방법을 보여줍니다.
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)
그러나 나는이 옵션을 사용하여 적절한 풀 요청을하지 못했습니다. 내 코드에서
여전히 출력에 도착하지 않았다. 어쩌면'pylint'가 라이브러리로 실행 되었기 때문일 수도 있습니다. 그래서,'pylinrc' 파일에 파일 보고서 옵션을 설정하고 나중에 보고서를 필터링해야했다. –
이 버그 리포트를 추가 https://github.com/PyCQA/pylint/issues/1414 –