Skip to content

Commit

Permalink
Update licence string (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 authored Jun 12, 2024
1 parent 57bb349 commit d142d63
Show file tree
Hide file tree
Showing 35 changed files with 55 additions and 49 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 Q29weXJpZ2h0IChjKSBRdWFudENvIDIwMjMtMjAyNApTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQlNELTMtQ2xhdXNlCg==
--dynamic-years
--comment-style "#"
language: system
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2022-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: BSD-3-Clause

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

import importlib.metadata
import warnings
Expand Down
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
4 changes: 2 additions & 2 deletions ndonnx/_constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np

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

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

from __future__ import annotations

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

from __future__ import annotations

from typing import Literal
Expand Down
2 changes: 1 addition & 1 deletion 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
3 changes: 2 additions & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
4 changes: 2 additions & 2 deletions ndonnx/_data_types/conversion.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: BSD-3-Clause

from __future__ import annotations

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

from __future__ import annotations

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

from dataclasses import dataclass

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

from __future__ import annotations

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

from ._core import OperationsBlock
from ._data_types import CastMixin, Schema, StructType
Expand Down
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
3 changes: 2 additions & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
4 changes: 2 additions & 2 deletions ndonnx/additional/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: BSD-3-Clause

from ._additional import fill_null, make_nullable, isin, shape, static_map

Expand Down
3 changes: 2 additions & 1 deletion 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
2 changes: 1 addition & 1 deletion scripts/parse_test_report.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 argparse
import json
Expand Down
2 changes: 1 addition & 1 deletion 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
4 changes: 2 additions & 2 deletions tests/ndonnx/test_build_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: BSD-3-Clause

import pytest

Expand Down
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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
3 changes: 2 additions & 1 deletion 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
2 changes: 1 addition & 1 deletion tests/ndonnx/test_include.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


def test_import():
Expand Down
2 changes: 1 addition & 1 deletion 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
4 changes: 2 additions & 2 deletions tests/ndonnx/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) QuantCo 2024-2024
# SPDX-License-Identifier: LicenseRef-QuantCo
# Copyright (c) QuantCo 2023-2024
# SPDX-License-Identifier: BSD-3-Clause

from __future__ import annotations

Expand Down

0 comments on commit d142d63

Please sign in to comment.