summaryrefslogtreecommitdiff
path: root/scripts/py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/py')
-rw-r--r--scripts/py/check_update_resources_downloaded.py2
-rw-r--r--scripts/py/gen_audio.py2
-rw-r--r--scripts/py/gen_audio_cpp.py2
-rw-r--r--scripts/py/gen_default_input_cpp.py2
-rw-r--r--scripts/py/gen_labels_cpp.py2
-rw-r--r--scripts/py/gen_model_cpp.py2
-rw-r--r--scripts/py/gen_rgb_cpp.py2
-rw-r--r--scripts/py/gen_test_data_cpp.py2
-rw-r--r--scripts/py/gen_utils.py2
-rw-r--r--scripts/py/rnnoise_dump_extractor.py2
-rw-r--r--scripts/py/setup_hooks.py4
-rw-r--r--scripts/py/templates/AudioClips.cc.template2
-rw-r--r--scripts/py/templates/AudioClips.hpp.template2
-rw-r--r--scripts/py/templates/Images.cc.template2
-rw-r--r--scripts/py/templates/Images.hpp.template2
-rw-r--r--scripts/py/templates/Labels.cc.template2
-rw-r--r--scripts/py/templates/Labels.hpp.template2
-rw-r--r--scripts/py/templates/TestData.cc.template2
-rw-r--r--scripts/py/templates/TestData.hpp.template2
-rw-r--r--scripts/py/templates/audio.cc.template2
-rw-r--r--scripts/py/templates/default.hpp.template2
-rw-r--r--scripts/py/templates/header_template.txt2
-rw-r--r--scripts/py/templates/image.cc.template2
-rw-r--r--scripts/py/templates/iofmdata.cc.template2
-rw-r--r--scripts/py/templates/tflite.cc.template2
25 files changed, 26 insertions, 26 deletions
diff --git a/scripts/py/check_update_resources_downloaded.py b/scripts/py/check_update_resources_downloaded.py
index 021f1b1..6e4da21 100644
--- a/scripts/py/check_update_resources_downloaded.py
+++ b/scripts/py/check_update_resources_downloaded.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright (c) 2022 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_audio.py b/scripts/py/gen_audio.py
index e997499..ff33bfb 100644
--- a/scripts/py/gen_audio.py
+++ b/scripts/py/gen_audio.py
@@ -1,6 +1,6 @@
#!env/bin/python3
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_audio_cpp.py b/scripts/py/gen_audio_cpp.py
index b8928f0..850a871 100644
--- a/scripts/py/gen_audio_cpp.py
+++ b/scripts/py/gen_audio_cpp.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_default_input_cpp.py b/scripts/py/gen_default_input_cpp.py
index e42f4ae..093a606 100644
--- a/scripts/py/gen_default_input_cpp.py
+++ b/scripts/py/gen_default_input_cpp.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_labels_cpp.py b/scripts/py/gen_labels_cpp.py
index 25c4bc3..065ed5d 100644
--- a/scripts/py/gen_labels_cpp.py
+++ b/scripts/py/gen_labels_cpp.py
@@ -1,6 +1,6 @@
#!env/bin/python3
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_model_cpp.py b/scripts/py/gen_model_cpp.py
index de71992..e4933b5 100644
--- a/scripts/py/gen_model_cpp.py
+++ b/scripts/py/gen_model_cpp.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_rgb_cpp.py b/scripts/py/gen_rgb_cpp.py
index 88ff81e..85ae071 100644
--- a/scripts/py/gen_rgb_cpp.py
+++ b/scripts/py/gen_rgb_cpp.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_test_data_cpp.py b/scripts/py/gen_test_data_cpp.py
index f1cb30f..a9e2b75 100644
--- a/scripts/py/gen_test_data_cpp.py
+++ b/scripts/py/gen_test_data_cpp.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 - 2022 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 - 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/gen_utils.py b/scripts/py/gen_utils.py
index 4a56646..ee33705 100644
--- a/scripts/py/gen_utils.py
+++ b/scripts/py/gen_utils.py
@@ -1,6 +1,6 @@
#!env/bin/python3
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/rnnoise_dump_extractor.py b/scripts/py/rnnoise_dump_extractor.py
index ff79dcb..715b922 100644
--- a/scripts/py/rnnoise_dump_extractor.py
+++ b/scripts/py/rnnoise_dump_extractor.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/setup_hooks.py b/scripts/py/setup_hooks.py
index 1f5c01a..97a2861 100644
--- a/scripts/py/setup_hooks.py
+++ b/scripts/py/setup_hooks.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright (c) 2022 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -33,7 +33,7 @@ def add_pre_push_hooks(hooks_dir):
f = open(file_path, "a")
f.write(
'''#!/bin/sh
-# Copyright (c) 2022 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/AudioClips.cc.template b/scripts/py/templates/AudioClips.cc.template
index edf46bc..724aa84 100644
--- a/scripts/py/templates/AudioClips.cc.template
+++ b/scripts/py/templates/AudioClips.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/AudioClips.hpp.template b/scripts/py/templates/AudioClips.hpp.template
index 2bcf45c..dfe435c 100644
--- a/scripts/py/templates/AudioClips.hpp.template
+++ b/scripts/py/templates/AudioClips.hpp.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/Images.cc.template b/scripts/py/templates/Images.cc.template
index 6e86f98..0cbd4f3 100644
--- a/scripts/py/templates/Images.cc.template
+++ b/scripts/py/templates/Images.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/Images.hpp.template b/scripts/py/templates/Images.hpp.template
index 89ce39e..01f0c0f 100644
--- a/scripts/py/templates/Images.hpp.template
+++ b/scripts/py/templates/Images.hpp.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/Labels.cc.template b/scripts/py/templates/Labels.cc.template
index f1ec1b5..b9000d3 100644
--- a/scripts/py/templates/Labels.cc.template
+++ b/scripts/py/templates/Labels.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/Labels.hpp.template b/scripts/py/templates/Labels.hpp.template
index c16a983..6c583b4 100644
--- a/scripts/py/templates/Labels.hpp.template
+++ b/scripts/py/templates/Labels.hpp.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/TestData.cc.template b/scripts/py/templates/TestData.cc.template
index d0f2698..18f415a 100644
--- a/scripts/py/templates/TestData.cc.template
+++ b/scripts/py/templates/TestData.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/TestData.hpp.template b/scripts/py/templates/TestData.hpp.template
index 413c062..13c410d 100644
--- a/scripts/py/templates/TestData.hpp.template
+++ b/scripts/py/templates/TestData.hpp.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/audio.cc.template b/scripts/py/templates/audio.cc.template
index f1e29ef..fd33df4 100644
--- a/scripts/py/templates/audio.cc.template
+++ b/scripts/py/templates/audio.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/default.hpp.template b/scripts/py/templates/default.hpp.template
index acba891..14b2326 100644
--- a/scripts/py/templates/default.hpp.template
+++ b/scripts/py/templates/default.hpp.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/header_template.txt b/scripts/py/templates/header_template.txt
index 0dac4be..f6e3bdb 100644
--- a/scripts/py/templates/header_template.txt
+++ b/scripts/py/templates/header_template.txt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) {{year}}, Arm Limited and affiliates.
+ * SPDX-FileCopyrightText: Copyright {{year}}, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/image.cc.template b/scripts/py/templates/image.cc.template
index 010daa1..a11e383 100644
--- a/scripts/py/templates/image.cc.template
+++ b/scripts/py/templates/image.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/iofmdata.cc.template b/scripts/py/templates/iofmdata.cc.template
index e3c1dc6..8b3959b 100644
--- a/scripts/py/templates/iofmdata.cc.template
+++ b/scripts/py/templates/iofmdata.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/scripts/py/templates/tflite.cc.template b/scripts/py/templates/tflite.cc.template
index a06c14a..955f01d 100644
--- a/scripts/py/templates/tflite.cc.template
+++ b/scripts/py/templates/tflite.cc.template
@@ -1,5 +1,5 @@
{#
- Copyright (c) 2021 Arm Limited. All rights reserved.
+ SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");