Skip to content

Commit

Permalink
Update licence string
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jun 12, 2024
1 parent 57bb349 commit d3cefd2
Show file tree
Hide file tree
Showing 34 changed files with 69 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
entry: >-
pixi run -e lint
insert-license
--license-base64 Q29weXJpZ2h0IChjKSBRdWFudENvIHt5ZWFyX3N0YXJ0fS17eWVhcl9lbmR9ClNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBMaWNlbnNlUmVmLVF1YW50Q28K
--license-base64 U1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IEJTRC0zLUNsYXVzZQo=
--dynamic-years
--comment-style "#"
language: system
Expand Down
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright (c) QuantCo 2022-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause

# Configuration file for the Sphinx documentation builder.
#
Expand Down
2 changes: 2 additions & 0 deletions ndonnx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2022-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_array.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_build.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_core/_impl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
from __future__ import annotations
Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_core/_interface.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
from __future__ import annotations
Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_corearray.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
5 changes: 3 additions & 2 deletions ndonnx/_data_types/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

from .aliases import (
Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_data_types/aliases.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from .classes import (
Boolean,
Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_data_types/classes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_data_types/conversion.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_data_types/coretype.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_data_types/schema.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_data_types/structtype.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/_experimental.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_funcs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_index.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from collections.abc import Iterable
from typing import TypeVar, Union
Expand Down
5 changes: 3 additions & 2 deletions ndonnx/_opset_extensions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

import builtins
Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_propagation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions ndonnx/_utility.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
2 changes: 2 additions & 0 deletions ndonnx/additional/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
5 changes: 3 additions & 2 deletions ndonnx/additional/_additional.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

from collections.abc import Mapping, Sequence
Expand Down
4 changes: 2 additions & 2 deletions tests/ndonnx/test_additional.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


import sys

Expand Down
2 changes: 2 additions & 0 deletions tests/ndonnx/test_build_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down
4 changes: 2 additions & 2 deletions tests/ndonnx/test_compute_modes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


import numpy as np
import numpy.array_api as npx
Expand Down
4 changes: 2 additions & 2 deletions tests/ndonnx/test_constant_propagation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from typing import Literal

Expand Down
4 changes: 2 additions & 2 deletions tests/ndonnx/test_core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

Expand Down
5 changes: 3 additions & 2 deletions tests/ndonnx/test_dtypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


from __future__ import annotations

import re
Expand Down
3 changes: 1 addition & 2 deletions tests/ndonnx/test_include.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


def test_import():
Expand Down
4 changes: 2 additions & 2 deletions tests/ndonnx/test_masked.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# SPDX-License-Identifier: BSD-3-Clause


import math

Expand Down
2 changes: 2 additions & 0 deletions tests/ndonnx/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo

Expand Down

0 comments on commit d3cefd2

Please sign in to comment.