summaryrefslogtreecommitdiff
path: root/coverage/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/data.py')
-rw-r--r--coverage/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/data.py b/coverage/data.py
index 2765c4a3..f605e164 100644
--- a/coverage/data.py
+++ b/coverage/data.py
@@ -30,6 +30,7 @@ def line_counts(data, fullpath=False):
"""
summ = {}
if fullpath:
+ # pylint: disable=unnecessary-lambda-assignment
filename_fn = lambda f: f
else:
filename_fn = os.path.basename