Commit ea19023
🐛 address PR review feedback on sync_agent_config.py
- Bump `requires-python` in PEP 723 metadata from 3.11 to 3.12 so it
matches the repo-wide Python 3.12 requirement.
- Enforce `isinstance(meta, dict)` after `yaml.safe_load` so malformed
frontmatter yields a clear error instead of AttributeError blocking
the pre-commit hook.
- Wrap `Path.symlink_to` in try/except for OSError/NotImplementedError
so environments without symlink privileges (e.g. Windows without
Developer Mode) get an actionable message instead of a raw traceback.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f9023e7 commit ea19023
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
150 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
151 | 162 | | |
152 | 163 | | |
153 | 164 | | |
| |||
0 commit comments