Skip to content

Commit 8fe2baf

Browse files
authored
chore: add license header on all files (#308)
as title
1 parent f8eb651 commit 8fe2baf

38 files changed

+232
-0
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@ repos:
5555
# - id: markdown-link-check
5656
# args: ['--quiet']
5757

58+
59+
- repo: https://github.com/Lucas-C/pre-commit-hooks
60+
rev: v1.5.5
61+
hooks:
62+
- id: insert-license
63+
files: \.py$|\.sh$
64+
args:
65+
- --license-filepath
66+
- scripts/license_header.txt
67+
68+
5869
ci:
5970
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
6071
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate

scripts/license_header.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Copyright (c) Meta Platforms, Inc. and affiliates.
2+
All rights reserved.
3+
4+
This source code is licensed under the terms described in the LICENSE file in
5+
the root directory of this source tree.

src/llama_stack_client/resources/batches.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

src/llama_stack_client/resources/beta/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from .beta import (

src/llama_stack_client/resources/beta/beta.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

src/llama_stack_client/resources/prompts/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from .prompts import (

src/llama_stack_client/resources/prompts/prompts.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

src/llama_stack_client/resources/prompts/versions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

src/llama_stack_client/types/batch_cancel_response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
import builtins

src/llama_stack_client/types/batch_create_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

0 commit comments

Comments
 (0)