Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix breaking change in pylint 2.8.0 #197

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pylama/lint/pylama_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

from astroid import MANAGER
from pylama.lint import Linter as BaseLinter
from pylint.__pkginfo__ import numversion
try:
from pylint.__pkginfo__ import numversion
except ImportError:
# There was a breaking change in pylint 2.8.0
numversion = (2, 8, 0)
from pylint.lint import Run
from pylint.reporters import BaseReporter

Expand Down