Skip to content

Commit

Permalink
Merge pull request #242 from Tirzono/pylint
Browse files Browse the repository at this point in the history
Fix teamcity-messages for pylint >= 2.8
  • Loading branch information
mikekidya authored May 20, 2021
2 parents c6e6242 + 3606abc commit 2c3c2d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion teamcity/pylint_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

import os
from pylint import reporters
from pylint.__pkginfo__ import version as pylint_version
try:
from pylint import version as pylint_version
except ImportError:
# Backwards compatibility for pylint < 2.8.0
from pylint.__pkginfo__ import version as pylint_version

from teamcity.common import get_class_fullname
from teamcity import messages
Expand Down

0 comments on commit 2c3c2d0

Please sign in to comment.