[diffoscope] 03/04: Add whitespace around operators.

Chris Lamb chris at chris-lamb.co.uk
Sat Mar 3 23:46:07 CET 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit e813b51c0314af05712814dfc4b0163c0dbe4cc3
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Mar 3 22:41:39 2018 +0000

    Add whitespace around operators.
---
 diffoscope/main.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/diffoscope/main.py b/diffoscope/main.py
index 9969e7a..1424119 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -137,24 +137,24 @@ def create_parser():
                         'across all of its pages. Note that some formats, such '
                         'as --html, may be restricted by even smaller limits '
                         'such as --max-page-size. (0 to disable, default: %d)' %
-                        Config().max_report_size, default=None).completer=RangeCompleter(
+                        Config().max_report_size, default=None).completer = RangeCompleter(
                         Config().max_report_size)
     group2.add_argument('--max-diff-block-lines', metavar='LINES', type=int,
                         help='Maximum number of lines output per unified-diff '
                         'block, across all pages. (0 to disable, default: %d)' %
-                        Config().max_diff_block_lines, default=None).completer=RangeCompleter(
+                        Config().max_diff_block_lines, default=None).completer = RangeCompleter(
                         Config().max_diff_block_lines)
     group2.add_argument('--max-page-size', metavar='BYTES', type=int,
                         help='Maximum bytes of the top-level (--html-dir) or sole '
                         '(--html) page. (default: %(default)s, remains in effect '
                         'even with --no-default-limits)', default=
-                        Config().max_page_size).completer=RangeCompleter(
+                        Config().max_page_size).completer = RangeCompleter(
                         Config().max_page_size)
     group2.add_argument('--max-page-size-child', metavar='BYTES', type=int,
                         help='In --html-dir output, this is the maximum bytes of '
                         'each child page (default: %(default)s, remains in '
                         'effect even with --no-default-limits)', default=str(
-                        Config().max_page_size_child)).completer=RangeCompleter(
+                        Config().max_page_size_child)).completer = RangeCompleter(
                         Config().max_page_size_child)
     # TODO: old flag kept for backwards-compat, drop 6 months after v84
     group2.add_argument('--max-report-size-child', metavar='BYTES', type=int,
@@ -166,7 +166,7 @@ def create_parser():
                         'rest of the diff block. Child pages are limited instead by '
                         '--max-page-size-child. (default: %(default)s, remains in '
                         'effect even with --no-default-limits)', default=
-                        Config().max_page_diff_block_lines).completer=RangeCompleter(
+                        Config().max_page_diff_block_lines).completer = RangeCompleter(
                         Config().max_page_diff_block_lines)
     # TODO: old flag kept for backwards-compat, drop 6 months after v84
     group2.add_argument("--max-diff-block-lines-parent", metavar='LINES', type=int,
@@ -200,7 +200,7 @@ def create_parser():
     group3.add_argument('--fuzzy-threshold', type=int,
                         help='Threshold for fuzzy-matching '
                         '(0 to disable, %(default)s is default, 400 is high fuzziness)',
-                        default=Config().fuzzy_threshold).completer=RangeCompleter(400)
+                        default=Config().fuzzy_threshold).completer = RangeCompleter(400)
     group3.add_argument('--tool-prefix-binutils', metavar='PREFIX',
                         help='Prefix for binutils program names, e.g. '
                         '"aarch64-linux-gnu-" for a foreign-arch binary or "g" '
@@ -209,7 +209,7 @@ def create_parser():
                         help='Maximum number of lines fed to diff(1) '
                         '(0 to disable, default: %d)' %
                         Config().max_diff_input_lines,
-                        default=None).completer=RangeCompleter(
+                        default=None).completer = RangeCompleter(
                         Config().max_diff_input_lines)
     group3.add_argument('--max-container-depth', metavar='DEPTH', type=int,
                         help='Maximum depth to recurse into containers. '

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list