Skip to content

Commit 3b7b292

Browse files
BordaCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 915d828 commit 3b7b292

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

β€Ž.github/copilot-instructions.mdβ€Ž

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file provides context-aware guidance for GitHub Copilot when working in the
88

99
**Supervision** is a Python library providing reusable computer vision utilities for working with object detection models (YOLO, SAM, etc.). It offers tools for detections processing, tracking, annotation, and dataset management.
1010

11-
- **Languages**: Python 3.8+
11+
- **Languages**: Python 3.9+
1212
- **Key Dependencies**: NumPy, OpenCV, SciPy
1313
- **License**: MIT
1414

@@ -18,13 +18,14 @@ This file provides context-aware guidance for GitHub Copilot when working in the
1818

1919
```
2020
supervision/
21-
β”œβ”€β”€ supervision/ # Main library code
22-
β”‚ β”œβ”€β”€ detection/ # Detection utilities
23-
β”‚ β”œβ”€β”€ draw/ # Annotation and visualization
24-
β”‚ β”œβ”€β”€ tracker/ # Object tracking
25-
β”‚ β”œβ”€β”€ dataset/ # Dataset management
26-
β”‚ └── utils/ # Shared utilities
27-
β”œβ”€β”€ test/ # Test suite (mirrors supervision/)
21+
β”œβ”€β”€ src/
22+
β”‚ └── supervision/ # Main library code
23+
β”‚ β”œβ”€β”€ detection/ # Detection utilities
24+
β”‚ β”œβ”€β”€ draw/ # Annotation and visualization
25+
β”‚ β”œβ”€β”€ tracker/ # Object tracking
26+
β”‚ β”œβ”€β”€ dataset/ # Dataset management
27+
β”‚ └── utils/ # Shared utilities
28+
β”œβ”€β”€ tests/ # Test suite (mirrors src/supervision/)
2829
β”œβ”€β”€ docs/ # MkDocs documentation
2930
└── examples/ # Usage examples
3031
```
@@ -37,7 +38,7 @@ supervision/
3738

3839
```bash
3940
# Install dependencies
40-
uv pip install -r pyproject.toml --group dev --group docs --extra metrics
41+
uv sync --group dev --group docs --extra metrics
4142

4243
# Install pre-commit hooks
4344
uv run pre-commit install
@@ -132,8 +133,8 @@ Quick checklist:
132133

133134
## 🌿 Branching & Commits
134135

135-
- Branch from `develop` using prefixes: `feat/`, `fix/`, `docs/`, `refactor/`, `test/`, `chore/`
136-
- Use **conventional commits**: `feat:`, `fix:`, `docs:`, `refactor:`, `test:`, `chore:`
136+
- Branch from `develop` using prefixes: `feat/`, `fix/`, `docs/`, `refactor/`, `perf/`, `test/`, `chore/`
137+
- Use **conventional commits**: `feat:`, `fix:`, `docs:`, `refactor:`, `perf:`, `test:`, `chore:`
137138
- All PRs target `develop` branch
138139

139140
---

0 commit comments

Comments
Β (0)