diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-12-22 00:27:23 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-12-22 00:27:23 +0100 |
commit | 272571d14c2c07cf3008ab59782c554a1344ee3f (patch) | |
tree | ae859d7314f1840c7be360d7a61811533b86eed3 | |
parent | 9c077136840a4c960816ebd32fc188186e943a83 (diff) | |
download | pep8-272571d14c2c07cf3008ab59782c554a1344ee3f.tar.gz |
Missing docstrings
-rwxr-xr-x | pep8.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1142,6 +1142,9 @@ def mute_string(text): def parse_udiff(diff, patterns=None, parent='.'): + """Return a dictionary of matching lines.""" + # For each file of the diff, the entry key is the filename, + # and the value is a set of row numbers to consider. rv = {} path = nrows = None for line in diff.splitlines(): @@ -1486,6 +1489,7 @@ class BaseReport(object): class FileReport(BaseReport): + """Collect the results of the checks and print only the filenames.""" print_filename = True |