apply black to the whole codebase.

This commit is contained in:
Goffi 2026-03-09 09:22:04 +01:00
commit 82e2c6efac

View file

@ -80,8 +80,7 @@ class Editor:
self.editor_path = self.tmp_dir_path / "editor.py"
self.ori_content_path = self.tmp_dir_path / "original_content"
self.new_content_path = self.tmp_dir_path / "new_content"
self.base_script = dedent(
f"""\
self.base_script = dedent(f"""\
#!{sys.executable}
import sys
@ -100,8 +99,7 @@ class Editor:
with open("{self.new_content_path}", "w") as f:
f.write(new_content)
"""
)
""")
self._env = os.environ.copy()
self._env["EDITOR"] = str(self.editor_path)