supervision/test/utils
Onuralp SEZER 212e69b5a4
refactor: 🧪 type hints to use the new union syntax for optional types
- Updated type hints across multiple files to replace `Optional[X]` with `X | None` for better readability and consistency.
- Added `from __future__ import annotations` to files to enable postponed evaluation of type annotations.
- Adjusted function signatures and variable types in various modules including `polygon_zone.py`, `smoother.py`, `transformers.py`, `vlm.py`, and others.
- Ensured compatibility with Python 3.10+ type hinting features.

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2025-07-15 16:36:01 +03:00
..
assets Add tests for tiles creation 2024-03-25 19:44:46 +01:00
__init__.py Refactor import paths and improve text file reading 2023-11-10 10:15:08 -08:00
conftest.py feat: 🚀 dropping python 3.8 support and upgrade all codes to python3.9 syntax style as min 2025-07-14 20:12:11 +03:00
test_conversion.py fix(pre_commit): 🎨 auto format pre-commit hooks 2025-03-17 17:29:14 +00:00
test_file.py refactor: 🧪 type hints to use the new union syntax for optional types 2025-07-15 16:36:01 +03:00
test_image.py feat: 🚀 dropping python 3.8 support and upgrade all codes to python3.9 syntax style as min 2025-07-14 20:12:11 +03:00
test_internal.py feat: 🚀 dropping python 3.8 support and upgrade all codes to python3.9 syntax style as min 2025-07-14 20:12:11 +03:00
test_iterables.py fix(pre_commit): 🎨 auto format pre-commit hooks 2024-04-05 15:51:35 +00:00