diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-14 08:13:06 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-14 08:13:06 -0500 |
| commit | 0d6bf61e35421bbe257ef344d4bee660a6dfeb5e (patch) | |
| tree | 1959a66267a71654f08bcc2e67b9a3a8bb629b74 /tests/plugin2.py | |
| parent | 5f65173b7dccde1b42576a2fde2a05815b3028da (diff) | |
| download | python-coveragepy-0d6bf61e35421bbe257ef344d4bee660a6dfeb5e.tar.gz | |
Pylint
Diffstat (limited to 'tests/plugin2.py')
| -rw-r--r-- | tests/plugin2.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/plugin2.py b/tests/plugin2.py index 7d2ac7c..9d47d26 100644 --- a/tests/plugin2.py +++ b/tests/plugin2.py @@ -2,6 +2,8 @@ import coverage +# pylint: disable=missing-docstring + class Plugin(coverage.CoveragePlugin): def file_tracer(self, filename): @@ -29,9 +31,6 @@ class RenderFileTracer(coverage.plugin.FileTracer): class FileReporter(coverage.plugin.FileReporter): - def __init__(self, filename): - self.filename = filename - def statements(self): # Goofy test arrangement: claim that the file has as many lines as the # number in its name. |
