diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-05-05 15:20:09 +0200 |
---|---|---|
committer | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-05-05 15:32:09 +0200 |
commit | ada260c843085479eb0c1ae86531b00b8ce8ab23 (patch) | |
tree | 307fa094dc776ba9d8accb12504d7a4ad0e32487 /pylint/utils | |
parent | 020aea5797eb9f858b44dc6157f4b018234df50a (diff) | |
download | pylint-git-ada260c843085479eb0c1ae86531b00b8ce8ab23.tar.gz |
Refactor of ``config.__init__.py``
Diffstat (limited to 'pylint/utils')
-rw-r--r-- | pylint/utils/linterstats.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/utils/linterstats.py b/pylint/utils/linterstats.py index d7d13ffbf..ad749be24 100644 --- a/pylint/utils/linterstats.py +++ b/pylint/utils/linterstats.py @@ -137,6 +137,9 @@ class LinterStats: self.nb_duplicated_lines = 0 self.percent_duplicated_lines = 0.0 + def __repr__(self) -> str: + return str(self) + def __str__(self) -> str: return f"""{self.bad_names} {sorted(self.by_module.items())} |