diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-05 15:24:35 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-05 15:24:35 +0300 |
commit | 3feb461aad2b5473bfc6ac245c2053d05b865ccd (patch) | |
tree | 1123b2085a47782767e9da8678fcfd30971793a8 /pylint/checkers/raw_metrics.py | |
parent | fea4afb67abdf18130bdc82abd3aed4fb69fb73d (diff) | |
download | pylint-git-3feb461aad2b5473bfc6ac245c2053d05b865ccd.tar.gz |
Bring logilab-common's ureports into pylint.reporters.
With this change, we moved away from depending on logilab-common,
having in Pylint all the components that were used from logilab-common.
The API should be considered an implementation detail and can change at
some point in the future.
Closes issue #621.
Diffstat (limited to 'pylint/checkers/raw_metrics.py')
-rw-r--r-- | pylint/checkers/raw_metrics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/raw_metrics.py b/pylint/checkers/raw_metrics.py index 71fecf68f..1cfff831e 100644 --- a/pylint/checkers/raw_metrics.py +++ b/pylint/checkers/raw_metrics.py @@ -25,12 +25,12 @@ import tokenize #if not hasattr(tokenize, 'NL'): # raise ValueError("tokenize.NL doesn't exist -- tokenize module too old") -from logilab.common.ureports import Table - from pylint.interfaces import ITokenChecker from pylint.utils import EmptyReport from pylint.checkers import BaseTokenChecker from pylint.reporters import diff_string +from pylint.reporters.ureports.nodes import Table + def report_raw_stats(sect, stats, old_stats): """calculate percentage of code / doc / comment / empty |