From 61434647d83d4c9036228012578a695a8c827994 Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Sun, 9 Jun 2024 20:53:37 +1200 Subject: [PATCH 1/2] Update various docstrings. --- colour_checker_detection/detection/common.py | 2 +- colour_checker_detection/detection/inference.py | 2 +- colour_checker_detection/detection/segmentation.py | 2 +- colour_checker_detection/scripts/inference.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/colour_checker_detection/detection/common.py b/colour_checker_detection/detection/common.py index 3197f52..870f823 100644 --- a/colour_checker_detection/detection/common.py +++ b/colour_checker_detection/detection/common.py @@ -2,7 +2,7 @@ Common Utilities ================ -Defines the common utilities objects that don't fall in any specific category. +Define the common utilities objects that don't fall in any specific category. References ---------- diff --git a/colour_checker_detection/detection/inference.py b/colour_checker_detection/detection/inference.py index 1a8667c..4879bd0 100644 --- a/colour_checker_detection/detection/inference.py +++ b/colour_checker_detection/detection/inference.py @@ -2,7 +2,7 @@ Colour Checker Detection - Inference ==================================== -Defines the objects for colour checker detection using inference based on +Define the objects for colour checker detection using inference based on *Ultralytics YOLOv8* machine learning model. - :attr:`colour_checker_detection.SETTINGS_INFERENCE_COLORCHECKER_CLASSIC` diff --git a/colour_checker_detection/detection/segmentation.py b/colour_checker_detection/detection/segmentation.py index ec1f63c..d58c556 100644 --- a/colour_checker_detection/detection/segmentation.py +++ b/colour_checker_detection/detection/segmentation.py @@ -2,7 +2,7 @@ Colour Checker Detection - Segmentation ======================================= -Defines the objects for colour checker detection using segmentation: +Define the objects for colour checker detection using segmentation: - :attr:`colour_checker_detection.SETTINGS_SEGMENTATION_COLORCHECKER_CLASSIC` - :attr:`colour_checker_detection.SETTINGS_SEGMENTATION_COLORCHECKER_SG` diff --git a/colour_checker_detection/scripts/inference.py b/colour_checker_detection/scripts/inference.py index f2a97ad..428870f 100755 --- a/colour_checker_detection/scripts/inference.py +++ b/colour_checker_detection/scripts/inference.py @@ -3,7 +3,7 @@ Colour Checker Detection - Inference ==================================== -Defines the scripts for colour checker detection using inference based on +Define the scripts for colour checker detection using inference based on *Ultralytics YOLOv8* machine learning model. Warnings From b70a096b60860955816f8929986eb8840324c939 Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Sun, 28 Jul 2024 08:49:10 +1200 Subject: [PATCH 2/2] Update `.pre-commit-config.yaml` file. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c213b30..50a4e22 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: rev: 1.16.0 hooks: - id: blacken-docs - language_version: python3.9 + language_version: python3.10 - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.1.0" hooks: