We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2089639 commit 538963fCopy full SHA for 538963f
lint.py
@@ -32,10 +32,9 @@ def main():
32
33
final_score: float = results.linter.stats['global_note']
34
if final_score < threshold:
35
- print(f'PyLint Failed | score: {final_score:.2f} | threshold: {threshold:.2f}')
36
- raise Exception
37
- else:
38
- print(f'PyLint Passed | score: {final_score:.2f} | threshold: {threshold:.2f}')
+ raise Exception(f'PyLint Failed | score {final_score:.2f} < threshold {threshold:.2f}')
+
+ print(f'[+] PyLint Passed | score {final_score:.2f} > threshold {threshold:.2f}')
39
40
41
if __name__ == '__main__':
0 commit comments