Skip to content

Commit

Permalink
pylint: Print astroid version
Browse files Browse the repository at this point in the history
  • Loading branch information
bcl committed Oct 8, 2024
1 parent 064a6ce commit 68ca691
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pylint/runpylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import sys

import astroid
from pocketlint import FalsePositive, PocketLintConfig, PocketLinter
import pylint

Expand Down Expand Up @@ -51,7 +52,7 @@ def disabledOptions(self):
return retval

if __name__ == "__main__":
print("INFO: Using pylint v%s" % pylint.__version__)
print("INFO: Using pylint v%s, astroid v%s" % (pylint.version, astroid.version))
conf = LoraxLintConfig()
linter = PocketLinter(conf)
rc = linter.run()
Expand Down

0 comments on commit 68ca691

Please sign in to comment.