Skip to content

Commit

Permalink
Standardize license headers in Python files (#14)
Browse files Browse the repository at this point in the history
Automated merge of Ultralytics Code Refactor
  • Loading branch information
pderrenger authored Jan 15, 2025
1 parent b001ebf commit 3277251
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clip/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

from .clip import *
2 changes: 2 additions & 0 deletions clip/clip.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

import hashlib
import os
import urllib
Expand Down
2 changes: 2 additions & 0 deletions clip/model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

from collections import OrderedDict
from typing import Tuple, Union

Expand Down
2 changes: 2 additions & 0 deletions clip/simple_tokenizer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

import gzip
import html
import os
Expand Down
2 changes: 2 additions & 0 deletions hubconf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

import re
import string

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

import os

import pkg_resources
Expand Down
2 changes: 2 additions & 0 deletions tests/test_consistency.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

import numpy as np
import pytest
import torch
Expand Down

0 comments on commit 3277251

Please sign in to comment.