File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed
Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -67,17 +67,16 @@ def exit(self) -> NoReturn:
6767 """
6868
6969 if self .options .count :
70- if True :
71- files_checked = self .file_checker_manager .statistics ["files" ]
72- files_with_errors = self .file_checker_manager .statistics ["files_with_errors" ]
73- if self .result_count :
74- click .echo (
75- f"Found { self .result_count } { _error (self .result_count )} "
76- f"in { files_with_errors } { _file (files_with_errors )} "
77- f"(checked { files_checked } source { _file (files_checked )} )"
78- )
79- else :
80- click .echo (f"Success: no issues found in { files_checked } source { _file (files_checked )} " )
70+ files_checked = self .file_checker_manager .statistics ["files" ]
71+ files_with_errors = self .file_checker_manager .statistics ["files_with_errors" ]
72+ if self .result_count :
73+ click .echo (
74+ f"Found { self .result_count } { _error (self .result_count )} "
75+ f"in { files_with_errors } { _file (files_with_errors )} "
76+ f"(checked { files_checked } source { _file (files_checked )} )"
77+ )
78+ else :
79+ click .echo (f"Success: no issues found in { files_checked } source { _file (files_checked )} " )
8180
8281 if self .options .exit_zero :
8382 raise SystemExit (self .catastrophic_failure )
Original file line number Diff line number Diff line change 7171 git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
7272 git+https://github.com/domdfcoding/flake8-quotes.git
7373 git+https://github.com/domdfcoding/flake8-rst-docstrings.git
74- git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
74+ git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
7575 pygments>=2.7.1
7676commands = python3 -m flake8_rst_docstrings_sphinx flake8_prettycount --allow-toolbox
7777
You can’t perform that action at this time.
0 commit comments