From f96d105730f369c076e9601cb0470970f9b63ab8 Mon Sep 17 00:00:00 2001 From: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Date: Sat, 8 Jun 2024 22:02:57 +0200 Subject: [PATCH] Update Python file headers (#13445) Co-authored-by: Glenn Jocher --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 ++ .github/ISSUE_TEMPLATE/config.yml | 2 ++ .github/ISSUE_TEMPLATE/feature-request.yml | 2 ++ .github/ISSUE_TEMPLATE/question.yml | 2 ++ .github/workflows/format.yml | 2 +- docs/en/help/contributing.md | 2 +- examples/YOLOv8-ONNXRuntime-Rust/Cargo.toml | 2 ++ ultralytics/models/yolo/world/train_world.py | 2 ++ ultralytics/utils/callbacks/tensorboard.py | 1 + 9 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 203250b973..482bd55178 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license + name: 🐛 Bug Report # title: " " description: Problems with YOLOv8 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 9018a6213f..d782f2f30b 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license + blank_issues_enabled: true contact_links: - name: 📄 Docs diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 76fc7b16fe..c065446c1f 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license + name: 🚀 Feature Request description: Suggest a YOLOv8 idea # title: " " diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 090bc5d281..45e55010b2 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license + name: ❓ Question description: Ask a YOLOv8 question # title: " " diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c2721f43f8..845d48df3c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,4 +1,4 @@ -# Ultralytics 🚀 - AGPL-3.0 license +# Ultralytics YOLO 🚀, AGPL-3.0 license # Ultralytics Actions https://github.com/ultralytics/actions # This workflow automatically formats code and documentation in PRs to official Ultralytics standards diff --git a/docs/en/help/contributing.md b/docs/en/help/contributing.md index 6cd07255ed..6afca849bf 100644 --- a/docs/en/help/contributing.md +++ b/docs/en/help/contributing.md @@ -46,7 +46,7 @@ Before we can accept your pull request, you must sign a [Contributor License Agr To sign the CLA, follow the instructions provided by the CLA bot after you submit your PR and add a comment in your PR saying: ``` -I have read the CLA Document and I sign the CLA. +I have read the CLA Document and I sign the CLA ``` ### Google-Style Docstrings diff --git a/examples/YOLOv8-ONNXRuntime-Rust/Cargo.toml b/examples/YOLOv8-ONNXRuntime-Rust/Cargo.toml index 101f72efb7..427240c3ff 100644 --- a/examples/YOLOv8-ONNXRuntime-Rust/Cargo.toml +++ b/examples/YOLOv8-ONNXRuntime-Rust/Cargo.toml @@ -1,3 +1,5 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license + [package] name = "yolov8-rs" version = "0.1.0" diff --git a/ultralytics/models/yolo/world/train_world.py b/ultralytics/models/yolo/world/train_world.py index d6836ca255..63201098d6 100644 --- a/ultralytics/models/yolo/world/train_world.py +++ b/ultralytics/models/yolo/world/train_world.py @@ -1,3 +1,5 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license + from ultralytics.data import YOLOConcatDataset, build_grounding, build_yolo_dataset from ultralytics.data.utils import check_det_dataset from ultralytics.models.yolo.world import WorldTrainer diff --git a/ultralytics/utils/callbacks/tensorboard.py b/ultralytics/utils/callbacks/tensorboard.py index b8a9825683..f921e613aa 100644 --- a/ultralytics/utils/callbacks/tensorboard.py +++ b/ultralytics/utils/callbacks/tensorboard.py @@ -1,4 +1,5 @@ # Ultralytics YOLO 🚀, AGPL-3.0 license + import contextlib from ultralytics.utils import LOGGER, SETTINGS, TESTS_RUNNING, colorstr