diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2016-12-31 20:02:15 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-01 12:02:05 -0500 |
commit | 2017d8578af20d2f82cefb3a91889a15105c06b2 (patch) | |
tree | f72c0140e1f700561a83445102bb2ef3783e6bd3 /mesonbuild/backend | |
parent | f0b30baa39180a1047da362eb1411157228d18b7 (diff) | |
download | meson-2017d8578af20d2f82cefb3a91889a15105c06b2.zip meson-2017d8578af20d2f82cefb3a91889a15105c06b2.tar.gz meson-2017d8578af20d2f82cefb3a91889a15105c06b2.tar.bz2 |
style: fix E226 violations
E226: missing whitespace around arithmetic operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 | ||||
-rw-r--r-- | mesonbuild/backend/vs2010backend.py | 6 | ||||
-rw-r--r-- | mesonbuild/backend/xcodebackend.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index dcabd0b..e568213 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -796,7 +796,7 @@ int dummy; class_list.append(plain_class_path) class_dep_list = [os.path.join(self.get_target_private_dir(target), i) for i in class_list] jar_rule = 'java_LINKER' - commands = [c+m+e+f] + commands = [c + m + e + f] if e != '': commands.append(main_class) commands.append(self.get_target_filename(target)) diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py index 5738dd7..e8b60c5 100644 --- a/mesonbuild/backend/vs2010backend.py +++ b/mesonbuild/backend/vs2010backend.py @@ -320,7 +320,7 @@ class Vs2010Backend(backends.Backend): return '' directories = os.path.normpath(target.subdir).split(os.sep) - return os.sep.join(['..']*len(directories)) + return os.sep.join(['..'] * len(directories)) def special_quote(self, arr): return ['"%s"' % i for i in arr] @@ -380,7 +380,7 @@ class Vs2010Backend(backends.Backend): cmd += i.fullpath else: cmd.append(i) - cmd_templ = '''"%s" '''*len(cmd) + cmd_templ = '''"%s" ''' * len(cmd) ET.SubElement(customstep, 'Command').text = cmd_templ % tuple(cmd) ET.SubElement(customstep, 'Message').text = 'Running custom command.' ET.SubElement(root, 'Import', Project='$(VCTargetsPath)\Microsoft.Cpp.targets') @@ -395,7 +395,7 @@ class Vs2010Backend(backends.Backend): # from the target dir, not the build root. target.absolute_paths = True (srcs, ofilenames, cmd) = self.eval_custom_target_command(target, True) - cmd_templ = '''"%s" '''*len(cmd) + cmd_templ = '''"%s" ''' * len(cmd) ET.SubElement(customstep, 'Command').text = cmd_templ % tuple(cmd) ET.SubElement(customstep, 'Outputs').text = ';'.join(ofilenames) ET.SubElement(customstep, 'Inputs').text = ';'.join(srcs) diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 77eb2ef..691a360 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -60,7 +60,7 @@ class XCodeBackend(backends.Backend): return dirname def write_line(self, text): - self.ofile.write(self.indent*self.indent_level + text) + self.ofile.write(self.indent * self.indent_level + text) if not text.endswith('\n'): self.ofile.write('\n') |