Files
Zynq_Flasher/.gitignore
T
yuysh 9502bba636 fix: config save broken (relative_to→relpath), startup validation, auto-create, untrack config.yaml
- _relative_path(): replace Path.relative_to() with os.path.relpath()
  (ValueError crossing filesystems silently returned absolute paths)
- _sync_config_from_ui(): always derive relative from get_path() absolute,
  never trust stale FileSelector._relative_path after Browse
- validate_paths(): check all file paths exist on startup, clear missing
- Clear UI selectors after validation to prevent re-save of stale paths
- _load_config(): auto-create blank config.yaml when missing on disk
- .gitignore: add config.yaml (user-specific, must not be tracked)
2026-06-12 15:02:09 +08:00

55 lines
1.7 KiB
Plaintext

# ── Virtual Environment ──────────────────────────────────────
.flasher_env/
# ── Build/Output ─────────────────────────────────────────────
dist/
build/
*.egg-info/
*.egg
# ── Python ───────────────────────────────────────────────────
__pycache__/
*.py[cod]
*$py.class
*.so
.pytest_cache/
.mypy_cache/
.coverage
htmlcov/
.tox/
.nox/
# ── IDE ──────────────────────────────────────────────────────
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# ── Session/Task Tracking ────────────────────────────────────
.tmp/
# ── Opencode (internal tooling) ──────────────────────────────
.opencode/
# ── Config (user-specific, auto-generated if missing) ─────────
config.yaml
config/zynq_flasher.yaml
# ── Logs ─────────────────────────────────────────────────────
*.log
# ── Vivado / Xilinx temp files ────────────────────────────────
vivado.jou
vivado.log
vivado_*.backup.jou
vivado_*.backup.log
vivado_*.str
hs_err_pid*.log
webtalk*.jou
webtalk*.log
usage_statistics_*
xicom_zynq_bin*
*.pcapng