refactor: reorganize project structure and update module imports (#2112)

* refactor: reorganize project structure and update module imports
* configure setuptools to use 'src' layout and adjust package discovery
* refactor: move tests to `tests` directory and update imports accordingly
* update lint and mypy configurations to align with `src` and `tests` structure
* update test imports to use corrected `tests.helpers` module path
* fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
Jirka Borovec authored and GitHub committed 2026-02-03 15:24:47 +01:00
1 parent 2ca9bee083
commit b8a2a6996c
156 files changed
+32 -34

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
run: uv run python -c "import supervision; from supervision import assets; from supervision import metrics; print(supervision.__version__)"
- name: 🧪 Run the Test
run: uv run pytest --cov=supervision --cov-report=xml --ignore=examples
run: uv run pytest src/ tests/ --cov=supervision --cov-report=xml
- name: Generate Coverage Report
run: |