From 8811a93a5ee9a01f764d8d4b33b4d0dffa1c20f9 Mon Sep 17 00:00:00 2001 From: Paula Derrenger <107626595+pderrenger@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:16:22 +0100 Subject: [PATCH] Standardize license headers in Python files (#363) Automated merge of Ultralytics Code Refactor --- actions/__init__.py | 2 +- actions/first_interaction.py | 2 +- actions/summarize_pr.py | 2 +- actions/summarize_release.py | 2 +- actions/update_markdown_code_blocks.py | 2 +- actions/utils/__init__.py | 2 +- actions/utils/common_utils.py | 2 +- actions/utils/github_utils.py | 3 ++- actions/utils/openai_utils.py | 2 +- tests/test_urls.py | 3 ++- 10 files changed, 12 insertions(+), 10 deletions(-) diff --git a/actions/__init__.py b/actions/__init__.py index 3d28e8f..854543a 100644 --- a/actions/__init__.py +++ b/actions/__init__.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license # project_root/ # ├── pyproject.toml diff --git a/actions/first_interaction.py b/actions/first_interaction.py index 4556db2..90dc207 100644 --- a/actions/first_interaction.py +++ b/actions/first_interaction.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license import os from typing import Dict, List, Tuple diff --git a/actions/summarize_pr.py b/actions/summarize_pr.py index 0f3a7e1..0b63a87 100644 --- a/actions/summarize_pr.py +++ b/actions/summarize_pr.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license import time diff --git a/actions/summarize_release.py b/actions/summarize_release.py index aa02602..53f91ab 100644 --- a/actions/summarize_release.py +++ b/actions/summarize_release.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license import os import re diff --git a/actions/update_markdown_code_blocks.py b/actions/update_markdown_code_blocks.py index 28ff7b5..63f1036 100644 --- a/actions/update_markdown_code_blocks.py +++ b/actions/update_markdown_code_blocks.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license import hashlib import re diff --git a/actions/utils/__init__.py b/actions/utils/__init__.py index 2bc604a..6f3f60c 100644 --- a/actions/utils/__init__.py +++ b/actions/utils/__init__.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license from .common_utils import remove_html_comments from .github_utils import ( diff --git a/actions/utils/common_utils.py b/actions/utils/common_utils.py index ad42c73..9b18ff6 100644 --- a/actions/utils/common_utils.py +++ b/actions/utils/common_utils.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license import re import time diff --git a/actions/utils/github_utils.py b/actions/utils/github_utils.py index 4f10d56..72e9652 100644 --- a/actions/utils/github_utils.py +++ b/actions/utils/github_utils.py @@ -1,4 +1,5 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + import json import os from pathlib import Path diff --git a/actions/utils/openai_utils.py b/actions/utils/openai_utils.py index 1c3c2c9..1d09f88 100644 --- a/actions/utils/openai_utils.py +++ b/actions/utils/openai_utils.py @@ -1,4 +1,4 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license https://ultralytics.com/license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license import os import time diff --git a/tests/test_urls.py b/tests/test_urls.py index f145cf0..aecbbce 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -1,4 +1,5 @@ -# Ultralytics Actions 🚀, AGPL-3.0 license +# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license + # Continuous Integration (CI) GitHub Actions tests import pytest