Skip to content

Commit 7873c45

Browse files
authored
Small improvement to Copilot instructions (#6011)
1 parent cbc48c3 commit 7873c45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ async def backup_full(self, request: web.Request) -> dict[str, Any]:
251251
### Development Commands
252252

253253
```bash
254-
# Run tests with coverage
255-
pytest tests/ --cov=supervisor --cov-report=term-missing
254+
# Run tests, adjust paths as necessary
255+
pytest -qsx tests/
256256

257257
# Linting and formatting
258258
ruff check supervisor/
@@ -275,6 +275,7 @@ Always run the pre-commit hooks at the end of code editing.
275275
- Use `self.sys_run_in_executor()` for blocking operations
276276
- Access Docker via `self.sys_docker` not direct Docker API
277277
- Use constants from `const.py` instead of hardcoding
278+
- Store types in (per-module) `const.py` (e.g. supervisor/store/const.py)
278279

279280
**❌ Avoid These Patterns**:
280281
- Direct Docker API usage - use Supervisor's Docker manager

0 commit comments

Comments
 (0)