Skip to content

Commit c0e57e2

Browse files
committed
Fix version_re for maximum compatibility
1 parent 214c9a0 commit c0e57e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Pylint(PythonLinter):
2727
'--persistent=n', # don't save the old score (no sense for temp)
2828
)
2929
version_args = '--version'
30-
version_re = r'^pylint.+ (?P<version>\d+\.\d+\.\d+),'
30+
version_re = r'^pylint.* (?P<version>\d+\.\d+\.\d+),'
3131
version_requirement = '>= 1.0'
3232
regex = (
3333
r'^(?P<line>\d+):(?P<col>\d+):'

0 commit comments

Comments
 (0)