Searched refs:reformatted_code (Results 1 – 6 of 6) sorted by relevance
/dports/textproc/py-yapf/yapf-0.31.0/yapftests/ |
H A D | reformatter_facebook_test.py | 379 reformatted_code = reformatter.Reformat(uwlines) 380 self.assertCodeEqual(code, reformatted_code) 382 uwlines = yapf_test_helper.ParseAndUnwrap(reformatted_code) 383 reformatted_code = reformatter.Reformat(uwlines) 384 self.assertCodeEqual(code, reformatted_code)
|
H A D | reformatter_basic_test.py | 2004 reformatted_code = reformatter.Reformat(uwlines) 2005 self.assertCodeEqual(code, reformatted_code) 2008 reformatted_code = reformatter.Reformat(uwlines) 2009 self.assertCodeEqual(code, reformatted_code) 2031 reformatted_code = reformatter.Reformat(uwlines) 2035 reformatted_code = reformatter.Reformat(uwlines) 2102 reformatted_code = reformatter.Reformat(uwlines) 2103 self.assertCodeEqual(code, reformatted_code) 2106 reformatted_code = reformatter.Reformat(uwlines) 2107 self.assertCodeEqual(code, reformatted_code) [all …]
|
H A D | reformatter_pep8_test.py | 694 reformatted_code = reformatter.Reformat(uwlines) 695 self.assertCodeEqual(expected_formatted_code, reformatted_code) 697 uwlines = yapf_test_helper.ParseAndUnwrap(reformatted_code) 698 reformatted_code = reformatter.Reformat(uwlines) 699 self.assertCodeEqual(expected_formatted_code, reformatted_code)
|
H A D | yapf_test.py | 426 reformatted_code, stderrdata = p.communicate( 429 self.assertMultiLineEqual(reformatted_code.decode('utf-8'), expected) 456 reformatted_code = fd.read() 457 self.assertEqual(reformatted_code, expected_formatted_code) 467 reformatted_code = fd.read() 468 self.assertEqual(reformatted_code, expected_formatted_code) 478 reformatted_code = fd.read() 479 self.assertEqual(reformatted_code, expected_formatted_code)
|
/dports/textproc/py-yapf/yapf-0.31.0/yapf/yapflib/ |
H A D | file_resources.py | 138 reformatted_code, argument 155 fd.write(reformatted_code) 157 py3compat.EncodeAndWriteToStdout(reformatted_code)
|
/dports/textproc/py-yapf/yapf-0.31.0/yapf/ |
H A D | __init__.py | 227 reformatted_code, encoding, has_change = yapf_api.FormatFile( 241 if not in_place and not quiet and reformatted_code: 242 file_resources.WriteReformattedCode(filename, reformatted_code, encoding,
|