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:
@@ -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})))
|
||||
|
||||
Reference in New Issue
Block a user