jirka and copilot-swe-agent[bot]
b4262bb08e
Convert supervision/key_points/annotators.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
a9dad95fa7
Convert supervision/geometry/utils.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
91ff090168
Convert supervision/draw/utils.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
6d68a825ab
Convert supervision/draw/color.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
2043ba7feb
Convert supervision/detection/utils/vlms.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
5ac08abcf3
Convert supervision/detection/utils/masks.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
1c37d143b4
Convert supervision/detection/utils/iou_and_nms.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
f78b891011
Convert supervision/detection/utils/converters.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
f2fc5b2952
Convert supervision/detection/utils/boxes.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
09565ddacd
Convert supervision/detection/tools/csv_sink.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
780db7520d
Convert supervision/dataset/utils.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
fd9083ae76
Convert supervision/dataset/core.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
ebe3fd4d2f
Convert supervision/classification/core.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
ce4204adc1
Convert supervision/assets/downloader.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
48450b5da3
Convert supervision/annotators/utils.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
jirka and copilot-swe-agent[bot]
fbd6f4dc5a
Convert supervision/annotators/core.py docstrings to doctests
...
---
Co-authored-by: copilot-swe-agent[bot] <198982749+copilot@users.noreply.github.com >
2026-02-02 18:10:37 +09:00
Kader Miyanyedi
4c1f33189b
refactor(typing): Typing error has been fixed for draw and geometry files. ( #2120 )
2026-02-02 07:57:24 +01:00
Daniel and pre-commit-ci[bot]
dcce0e4807
test(detection): add adapter tests and ignore local data directory ( #2116 )
...
* test(detection): add adapter tests and ignore local data directory
* fix(pre_commit): 🎨 auto format pre-commit hooks
* chore: retrigger ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-02-02 07:56:04 +01:00
dependabot[bot]
b8e88bf9c5
⬆️ Bump astral-sh/setup-uv in the github-actions group (#2122 )
...
Bumps the github-actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ).
Updates `astral-sh/setup-uv` from 7.2.0 to 7.2.1
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/61cb8a9741eeb8a550a1b8544337180c0fc8476b...803947b9bd8e9f986429fa0c5a41c367cd732b41 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 7.2.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-02 07:43:08 +01:00
3b09a6356a
fix: process_video silent hang on callback error ( #2022 )
...
* Handle process_video worker exceptions
* test: add unit tests for process_video exception handling and fix docstring typo
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Handle `Full` exception in video writer queue and add test for small buffer scenario
* Apply suggestions from code review
---------
Co-authored-by: Your Name <realh4m@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 10:46:19 +01:00
5ced8c4ea0
Add unit tests for key_points - skeleton & annotators ( #2099 )
...
* Refactor key point annotator tests to use reusable fixtures for test clarity and maintainability
* Apply suggestions from code review
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Move `assert_image_mostly_same` helper to a shared module and update imports in tests
* Update test/key_points/test_skeletons.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-29 18:22:19 +01:00
Jirka Borovec
b25556dae9
Remove unnecessary fetch-depth parameter from CI docs ( #2115 )
2026-01-29 17:02:14 +01:00
Jirka Borovec and pre-commit-ci[bot]
beaa0be014
Add comprehensive unittests for KeyPoints functionality ( #2109 )
...
* Add comprehensive unittests for KeyPoints functionality
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Refactor and expand KeyPoints tests for improved coverage
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-29 16:50:11 +01:00
Jirka Borovec and pre-commit-ci[bot]
a765bd9bd7
typing/annotators: Simplify type annotations in docstrings by removing redundant type details ( #2086 )
...
* Simplify type annotations in docstrings by removing redundant type details
* Refactor type annotations and improve type safety across annotator-related utilities and methods
* Enhance type safety by refining NumPy type annotations across annotator-related utilities and methods
* Refine type annotations by adding explicit NumPy ndarray type for `frame_id` in `put` method
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-29 16:40:30 +01:00
7bf03f5a3c
typing/utils: Add annotations & enforce stricter typing ( #2107 )
...
* Update typing annotations and update type hints across utility modules
* Refine docstrings by aligning parameter descriptions with new typing annotations across utility modules
* Apply suggestions from code review
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Update typing annotations and docstrings across utility modules
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-29 15:46:17 +01:00
Jirka Borovec
93d419d7c6
Enable testing doctest in the package docstrings ( #2111 )
...
* Exclude examples directory from test coverage in CI workflow
* demo * case
2026-01-29 10:08:10 +01:00
44614dea94
test: add regression test for numpy color lookup ( #2110 )
...
* test: add regression test for numpy color lookup
* fix(pre_commit): 🎨 auto format pre-commit hooks
* test: fix numpy color lookup docstring length
* Update test/annotators/test_core.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
2026-01-28 16:01:26 +01:00
Jirka Borovec
ac379e467a
Add unittests for supervision.annotators.core module ( #2093 )
...
* Add unit tests for `supervision.annotators.core` module
* Update test/annotators/test_core.py
2026-01-27 07:19:16 +01:00
7507d3a68c
Add unittests for assets and downloader functionality ( #2095 )
...
* Apply suggestions from code review
* Use BASE_VIDEO_URL constant in test instead of hard-coded URL (#2097 )
* Replace hard-coded URL with BASE_VIDEO_URL constant in test
* Fix non-deterministic test_invalid_asset by patching Path.exists (#2096 )
* Fix test_invalid_asset to be deterministic by patching Path.exists
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2026-01-27 07:18:06 +01:00
Jirka Borovec
06bd638f15
Refactor test utilities: clarify module purpose and improve function's names ( #2094 )
...
* fix wrong types in test_csv and test_json
2026-01-27 07:13:18 +01:00
Jirka Borovec
5d60d78362
Standardize workflow names for consistency ( #2098 )
2026-01-27 07:09:56 +01:00
Jirka Borovec
377a87dbba
Chore release to use GH release events for PyPI & asset publishing ( #2100 )
...
* Chore release to use GH release events for PyPI & asset publishing
* Fix PyPI publish condition to exclude prereleases
* Allow manual triggering of PyPI publish via workflow_dispatch
2026-01-27 07:02:15 +01:00
pre-commit-ci[bot]
c2c7ca03d3
chore(pre_commit): ⬆ pre_commit autoupdate ( #2084 )
...
* chore(pre_commit): ⬆ pre_commit autoupdate
updates:
- [github.com/tox-dev/pyproject-fmt: v2.6.0 → v2.11.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.6.0...v2.11.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.14.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.11...v0.14.14 )
* fix(pre_commit): 🎨 auto format pre-commit hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-27 07:01:02 +01:00
Jirka Borovec
21482e9109
typing/assets: Add type hints to methods and polish docstrings ( #2087 )
2026-01-27 05:06:36 +01:00
Jirka Borovec and Copilot
0bf55b7ac7
Configure mypy in pre-commit and pyproject.toml ( #2091 )
...
* Configure mypy in pre-commit and pyproject.toml
* ignore_missing_imports=false
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-27 04:55:24 +01:00
dependabot[bot]
0b48ad1c22
Bump wheel from 0.45.1 to 0.46.2 in the uv group across 1 directory ( #2101 )
...
Bumps the uv group with 1 update in the / directory: [wheel](https://github.com/pypa/wheel ).
Updates `wheel` from 0.45.1 to 0.46.2
- [Release notes](https://github.com/pypa/wheel/releases )
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst )
- [Commits](https://github.com/pypa/wheel/compare/0.45.1...0.46.2 )
---
updated-dependencies:
- dependency-name: wheel
dependency-version: 0.46.2
dependency-type: direct:development
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 14:29:27 +01:00
dependabot[bot]
31e478b84c
⬆️ Bump actions/checkout in the github-actions group (#2105 )
...
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 14:16:53 +01:00
dependabot[bot]
2bbb9ef2ed
⬆️ Update wheel requirement from <0.46,>=0.40 to >=0.40,<0.47 (#2104 )
...
Updates the requirements on [wheel](https://github.com/pypa/wheel ) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases )
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst )
- [Commits](https://github.com/pypa/wheel/compare/0.40.0...0.46.3 )
---
updated-dependencies:
- dependency-name: wheel
dependency-version: 0.46.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 14:16:31 +01:00
b85b41d5f1
fix(yolo): round polygon coords before int cast to improve mask accuracy ( #2080 )
...
* fix(yolo): round polygon coords before int cast to improve mask accuracy
* fix: E501 Line too long
* Update uv.lock
---------
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
Co-authored-by: Piotr Skalski <piotr.skalski92@gmail.com >
2026-01-23 11:41:21 +01:00
Jirka Borovec
8419279fb9
ci: Remove conflicted removeOnDirtyLabel parameter from PR conflict labeler workflow ( #2092 )
2026-01-22 13:10:37 +01:00
Jirka Borovec and SkalskiP
1bab3fff8f
Enable rendering of type annotations in signature headers ( #2085 )
...
* Enable rendering of type annotations in signature headers
* drop comment
---------
Co-authored-by: SkalskiP <piotr.skalski92@gmail.com >
2026-01-20 14:17:29 +01:00
dependabot[bot] and Jirka Borovec
82a0aa2463
⬆️ Bump the github-actions group with 3 updates (#2081 )
...
Bumps the github-actions group with 3 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ), [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `astral-sh/setup-uv` from 7.1.6 to 7.2.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v7.1.6...61cb8a9741eeb8a550a1b8544337180c0fc8476b )
Updates `actions/upload-artifact` from 4 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6 )
Updates `actions/download-artifact` from 4 to 7
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v7 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 7.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
2026-01-19 14:31:04 +01:00
dependabot[bot]
f5a8bb93e8
Bump the uv group across 1 directory with 5 updates ( #2079 )
...
Bumps the uv group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [fonttools](https://github.com/fonttools/fonttools ) | `4.58.5` | `4.60.2` |
| [jupyterlab](https://github.com/jupyterlab/jupyterlab ) | `4.4.4` | `4.4.8` |
| [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions ) | `10.16` | `10.16.1` |
| [urllib3](https://github.com/urllib3/urllib3 ) | `2.5.0` | `2.6.3` |
| [virtualenv](https://github.com/pypa/virtualenv ) | `20.31.2` | `20.36.1` |
Updates `fonttools` from 4.58.5 to 4.60.2
- [Release notes](https://github.com/fonttools/fonttools/releases )
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst )
- [Commits](https://github.com/fonttools/fonttools/compare/4.58.5...4.60.2 )
Updates `jupyterlab` from 4.4.4 to 4.4.8
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases )
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/main/RELEASE.md )
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.4.4...@jupyterlab/lsp@4.4.8 )
Updates `pymdown-extensions` from 10.16 to 10.16.1
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases )
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.16...10.16.1 )
Updates `urllib3` from 2.5.0 to 2.6.3
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.5.0...2.6.3 )
Updates `virtualenv` from 20.31.2 to 20.36.1
- [Release notes](https://github.com/pypa/virtualenv/releases )
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/virtualenv/compare/20.31.2...20.36.1 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-version: 4.60.2
dependency-type: indirect
dependency-group: uv
- dependency-name: jupyterlab
dependency-version: 4.4.8
dependency-type: indirect
dependency-group: uv
- dependency-name: pymdown-extensions
dependency-version: 10.16.1
dependency-type: indirect
dependency-group: uv
- dependency-name: urllib3
dependency-version: 2.6.3
dependency-type: indirect
dependency-group: uv
- dependency-name: virtualenv
dependency-version: 20.36.1
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 14:28:25 +01:00
Jirka Borovec
a90a1c967b
Debugging workflow permissions and add PR dry-run ( #2083 )
...
* Debugging workflow permissions and add PR dry-run
* ls all
* path: dist/
2026-01-19 14:23:14 +01:00
Jirka Borovec
e2c380acbc
Debugging workflow permissions and add PR dry-run ( #2082 )
2026-01-19 12:35:46 +01:00
SkalskiP
819d74f57c
bump version from 0.27.0 to 0.28.0rc0
2026-01-19 12:10:26 +01:00
jirka
47e6a4bc88
Rename workflow file for documentation CI process
2026-01-16 18:51:30 +01:00
09de0f4f06
feat(ruff): add pytest linting rule ( #2053 )
...
* feat(ruff): add pytest linting rule
* --unsafe-fixes
* fix(pre_commit): 🎨 auto format pre-commit hooks
---------
Co-authored-by: jiri BOROVEC <jirka@Jiris-MacBook-Pro-J4N257Y6Q2.local >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2026-01-13 19:34:22 +01:00
f1e0c9cdd7
chore(pre_commit): add pyproject-fmt and validate-pyproject hooks ( #2045 )
...
* chore(pre_commit): add pyproject-fmt and validate-pyproject hooks
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Apply suggestions from code review
* format pre-commit hooks for consistency
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: jiri BOROVEC <jirka@Jiris-MacBook-Pro-J4N257Y6Q2.local >
2026-01-13 18:48:06 +01:00
KshitijAucharmal and Jirka Borovec
72d55a2938
docs: changed --extra to --group for dev ( #1972 )
...
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
2026-01-13 18:33:09 +01:00