Rename loop-claude to build-release, with no alias
This commit is contained in:
@@ -23,8 +23,8 @@ def unsorted_imports(source: str) -> list[int]:
|
||||
|
||||
class ImportOrder(unittest.TestCase):
|
||||
def test_each_python_file_sorts_its_imports_by_their_first_binding(self):
|
||||
listed = subprocess.run(["git", "ls-files", "*.py", "bin/loop-claude"], capture_output=True, check=True, cwd=ROOT, text=True).stdout.split()
|
||||
self.assertIn("bin/loop-claude", listed)
|
||||
listed = subprocess.run(["git", "ls-files", "*.py", "bin/build-release"], capture_output=True, check=True, cwd=ROOT, text=True).stdout.split()
|
||||
self.assertIn("bin/build-release", listed)
|
||||
for name in listed:
|
||||
with self.subTest(name):
|
||||
self.assertEqual(unsorted_imports((ROOT / name).read_text(encoding="utf-8")), [])
|
||||
|
||||
Reference in New Issue
Block a user