Update validators.py

This commit is contained in:
Mo Langning
2024-04-05 10:00:33 +08:00
committed by GitHub
parent 5433460af5
commit 8b020ac007
+3 -3
View File
@@ -26,13 +26,13 @@ FORMATTED_OUTPUT_FORMAT="""
- - -
Errors
Warnings
```
%s
```
Warnings
Errors
```
%s
@@ -312,7 +312,7 @@ else:
warn_msg='\n'.join(results["warn"])
else:
warn_msg="There are no warnings for this check!"
error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,error_msg,warn_msg))
error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,warn_msg,error_msg))
error_text='\n- - -\n'.join(error_text)