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 26e7a35 commit 1dc77acCopy full SHA for 1dc77ac
tools/test/pylint.py
@@ -1,9 +1,8 @@
1
-"""A test that all code scores above an 8.5 in pylint"""
+"""A test that all code scores above a 9.25 in pylint"""
2
3
import subprocess
4
import re
5
import os.path
6
-import sys
7
8
SCORE_REGEXP = re.compile(
9
r'^Your\ code\ has\ been\ rated\ at\ (\-?[0-9\.]+)/10')
@@ -41,9 +40,9 @@ def execute_pylint(filename):
41
40
for python_module in FILES:
42
_, stdout, stderr = execute_pylint(os.path.join(TOOLS_ROOT,
43
python_module))
44
- if parse_score(stdout) < 8.5:
+ score = parse_score(stdout)
+ if score < 9.25:
45
print(stdout)
46
- sys.exit(1)
47
48
49
0 commit comments