style: apply ruff format and extend gitignore

Ruff auto-fixes import order and line wrapping. Gitignore covers
build artifacts and coverage output from future test runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-07-18 17:10:33 +02:00
parent e9f494ed9d
commit 0963297815
4 changed files with 28 additions and 18 deletions
+1 -3
View File
@@ -70,9 +70,7 @@ def _is_ignored_name(name: str) -> bool:
"""Skip Syncthing metadata/temp files and other dotfiles."""
if name.startswith("."):
return True
if name.startswith(".syncthing.") or ".syncthing." in name:
return True
return False
return bool(name.startswith(".syncthing.") or ".syncthing." in name)
def _is_stable(path: Path) -> bool: