Searched refs:reindent (Results 1 – 22 of 22) sorted by relevance
111 handle.write(reindent("""121 handle.write(reindent("""142 handle.write(reindent("""153 handle.write(reindent("""164 handle.write(reindent("""176 handle.write(reindent("""181 handle.write(reindent("""192 handle.write(reindent("""208 handle.write(reindent("""228 handle.write(reindent("""[all …]
55 self.assertEqual(timeit.reindent("", 0), "")56 self.assertEqual(timeit.reindent("", 4), "")59 self.assertEqual(timeit.reindent("pass", 0), "pass")60 self.assertEqual(timeit.reindent("pass", 4), "pass")63 self.assertEqual(timeit.reindent("\n\n", 0), "\n\n")64 self.assertEqual(timeit.reindent("\n\n", 4), "\n \n ")67 self.assertEqual(timeit.reindent(70 self.assertEqual(timeit.reindent(
53 self.assertEqual(timeit.reindent("", 0), "")54 self.assertEqual(timeit.reindent("", 4), "")57 self.assertEqual(timeit.reindent("pass", 0), "pass")58 self.assertEqual(timeit.reindent("pass", 4), "pass")61 self.assertEqual(timeit.reindent("\n\n", 0), "\n\n")62 self.assertEqual(timeit.reindent("\n\n", 4), "\n \n ")65 self.assertEqual(timeit.reindent(68 self.assertEqual(timeit.reindent(
90 def reindent(src, indent): function132 stmt = reindent(stmt, 8)134 setup = reindent(setup, 4)
9 import reindent144 reindent.makebackup = False # No need to create backups.147 if reindent.check(os.path.join(SRCDIR, path)):
58 reindent.py Change .py files to use 4-space indents.
78 def reindent(src, indent): function111 setup = reindent(setup, 4)122 stmt = reindent(stmt, 8)
10 import reindent148 reindent.makebackup = False # No need to create backups.150 reindent.check(os.path.join(SRCDIR, path))]
58 reindent.py Change .py files to use 4-space indents59 reindent-rst.py Fix-up reStructuredText file whitespace
1361 # Run reindent on the library1362 reindent:1363 ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
1649 Fixed Tools/scripts/reindent.py for non-ASCII files. It now processes files1650 as binary streams. This also fixes "make reindent".
1652 reindent.py no longer converts newlines and will raise an error if
4751 Tools/scripts/reindent.py now creates the backup file using shutil.copy to
1638 # Run reindent on the library1639 reindent:1640 ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
META-INF/ META-INF/MANIFEST.MF kotlin/ kotlin/jvm/ kotlin/ ...
500 of indentation. Also, do not reindent a whole source file: it makes for
509 of indentation. Also, do not reindent a whole source file: it makes for
2122 C-c TAB reindent region to match its context
987 - The Makefile now has a reindent target, which runs reindent.py on
5658 Added contrib/tools/reindent.
10220 - Issue #10639: reindent.py no longer converts newlines and will raise11828 - Issue #10117: Tools/scripts/reindent.py now accepts source files that use18371 - The Makefile now has a reindent target, which runs reindent.py on
761 error messages and reindent the module.