Apply formatter, fix spelling

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-06-29 16:19:41 +02:00
1 parent 3d9b953ac6
commit 673f657dcc
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -2,7 +2,6 @@ import logging
import os
import re
import shutil
import sys
from collections.abc import Iterator, Sequence
from pathlib import Path
from typing import Literal
+1 -1
View File
@@ -3,7 +3,7 @@
Regression: ``~/.serena/serena_config.yml`` was corrupted in the field when a non-atomic
truncate-and-write saved a SHORTER value over a longer existing file (or two Serena processes
saved concurrently), leaving a stale tail (e.g. a dangling ``ena`` line) that made the YAML
unparseable, which wedged every later load. ``save_yaml`` now writes to a temp file and
unparsable, which wedged every later load. ``save_yaml`` now writes to a temp file and
``os.replace``s it onto the target, so each write is all-or-nothing.
"""