Searched refs:unformatted_code (Results 1 – 10 of 10) sorted by relevance
45 def _Check(self, unformatted_code, expected_formatted_code): argument47 unformatted_code, style_config='yapf')51 unformatted_code = textwrap.dedent("""\54 self._Check(unformatted_code, unformatted_code)57 unformatted_code = textwrap.dedent("""\64 self._Check(unformatted_code, expected_formatted_code)68 unformatted_code = textwrap.dedent("""a.print\n""")70 self._Check(unformatted_code, expected_formatted_code)92 unformatted_code = textwrap.dedent(u"""\104 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:[all …]
36 unformatted_code = textwrap.dedent("""\46 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)49 unformatted_code = textwrap.dedent("""\58 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)60 unformatted_code = textwrap.dedent("""\71 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)73 unformatted_code = textwrap.dedent("""\84 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)86 unformatted_code = textwrap.dedent("""\92 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)[all …]
42 unformatted_code = """\52 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)56 unformatted_code = """\65 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)178 unformatted_code = """\198 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)202 unformatted_code = """\216 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)237 unformatted_code = """\247 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)[all …]
33 unformatted_code = textwrap.dedent("""\41 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)54 unformatted_code = textwrap.dedent("""\65 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)69 unformatted_code = textwrap.dedent('''\90 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)94 unformatted_code = textwrap.dedent("""\102 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)106 unformatted_code = textwrap.dedent("""\114 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)[all …]
36 unformatted_code = textwrap.dedent("""\47 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)51 unformatted_code = textwrap.dedent("""\60 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)64 unformatted_code = textwrap.dedent("""\72 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)77 unformatted_code = textwrap.dedent("""\89 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)93 unformatted_code = textwrap.dedent("""\101 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)[all …]
32 unformatted_code = textwrap.dedent("""\41 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)45 unformatted_code = textwrap.dedent("""\57 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)61 unformatted_code = textwrap.dedent("""\73 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)77 unformatted_code = textwrap.dedent("""\94 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)110 unformatted_code = textwrap.dedent("""\144 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)[all …]
33 unformatted_code = textwrap.dedent("""\44 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)48 unformatted_code = textwrap.dedent("""\80 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)84 unformatted_code = textwrap.dedent("""\125 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)129 unformatted_code = textwrap.dedent("""\191 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)257 unformatted_code = textwrap.dedent("""\277 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)[all …]
33 unformatted_code = textwrap.dedent(u"""\41 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)48 unformatted_code = textwrap.dedent(u"""\56 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)65 unformatted_code = textwrap.dedent("""\74 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)86 unformatted_code = textwrap.dedent("""\117 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
35 unformatted_code = textwrap.dedent("""\39 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)45 unformatted_code = textwrap.dedent("""\53 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)58 unformatted_code = textwrap.dedent("""\67 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)82 llines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
101 void unformatted_code ;