Answer stability round 1: 0 🔴, 1 🟡 (0 misread); 0 🔴, 1 🟡 (0 misread); make planted's Rust reader required and test it through planted_tasks, and sort the settings file after the code

This commit is contained in:
2026-12-02 00:03:59 +01:00
parent ea608fe5d0
commit 6a5eaa6c1f
3 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class SpaceIndentation(unittest.TestCase):
def test_counts_only_the_first_code_files_git_lists(self):
first = {f"a{number:03}.py": TABBED for number in range(SAMPLE)}
self.assertIsNone(space_indented(self.checkout(**first, **{"b1.py": SPACED * 400})))
self.assertIsNone(space_indented(self.checkout(**{f"a{number:03}.py": SPACED for number in range(SAMPLE + 1)}, **{".editorconfig": "indent_style = space\n"})))
self.assertIsNone(space_indented(self.checkout(**{f"a{number:03}.py": SPACED for number in range(SAMPLE + 1)}, **{"z__.editorconfig": "indent_style = space\n"})))
def test_stays_silent_for_a_repo_without_code(self):
self.assertIsNone(space_indented(self.checkout(**{"README.md": SPACED, "data.json": SPACED, "ci.yml": SPACED})))