Rulebook: add rule 9 (Fix what you see) and clarify own cleanup
ci / test (push) Canceled after 0s

This commit is contained in:
swaits committed 2026-11-25 09:57:39 -07:00
1 parent 5d3cb67ab1
commit f011df5a46
2 files changed
+18 -7

No files matched your search

+2 -2
View File
@@ -2783,8 +2783,8 @@ cli.main(["tick"])
code = sum(len(self.read(p).splitlines()) for p in glob.glob(os.path.join(REPO, "sisi", "*.py")))
self.assertLessEqual(code, 1790, "sisi is two loops. If it needs more than this, find the simpler shape.")
rulebook = self.read(REPO, "canon", "core.md")
self.assertLess(len(rulebook.splitlines()), 120)
self.assertLessEqual(len(rulebook), 8374)
self.assertLess(len(rulebook.splitlines()), 130)
self.assertLessEqual(len(rulebook), 9080)
if __name__ == "__main__":