diff options
author | Connor O'Brien <connoro@google.com> | 2017-10-10 11:49:19 -0700 |
---|---|---|
committer | Connor O'Brien <connoro@google.com> | 2017-10-27 10:44:02 -0700 |
commit | 6e3604a24925c2ca67f6cf4b3415c0d6c8b80e75 (patch) | |
tree | 8fdc45cad421374dbbdb2fa033bb2cfa1f519894 | |
parent | 310b1503626abdb851a980ed47006b1074178f30 (diff) | |
download | lisa-6e3604a24925c2ca67f6cf4b3415c0d6c8b80e75.tar.gz |
Add license to new LISA files
Test: grep for files with no license
Change-Id: I9f31aeb9273f82c77762a1aee6bc2390598a5cc3
Signed-off-by: Connor O'Brien <connoro@google.com>
27 files changed, 432 insertions, 0 deletions
diff --git a/experiments/power/eas/run_cpu_frequency.py b/experiments/power/eas/run_cpu_frequency.py index 2135585..011b942 100755 --- a/experiments/power/eas/run_cpu_frequency.py +++ b/experiments/power/eas/run_cpu_frequency.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/power/profile/run_camera_avg.py b/experiments/power/profile/run_camera_avg.py index 4ba4d0e..a0c1fc7 100755 --- a/experiments/power/profile/run_camera_avg.py +++ b/experiments/power/profile/run_camera_avg.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging from conf import LisaLogging diff --git a/experiments/power/profile/run_camera_flashlight.py b/experiments/power/profile/run_camera_flashlight.py index 2ba061e..5c3a4c7 100755 --- a/experiments/power/profile/run_camera_flashlight.py +++ b/experiments/power/profile/run_camera_flashlight.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/power/profile/run_gps_on.py b/experiments/power/profile/run_gps_on.py index a1ef99b..4ee7810 100755 --- a/experiments/power/profile/run_gps_on.py +++ b/experiments/power/profile/run_gps_on.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging from conf import LisaLogging diff --git a/experiments/run_binder_throughput.py b/experiments/run_binder_throughput.py index e8114b6..2082251 100644 --- a/experiments/run_binder_throughput.py +++ b/experiments/run_binder_throughput.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging from conf import LisaLogging diff --git a/experiments/run_binder_transaction_tracing.py b/experiments/run_binder_transaction_tracing.py index 976026f..d8f0949 100755 --- a/experiments/run_binder_transaction_tracing.py +++ b/experiments/run_binder_transaction_tracing.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from time import sleep import os diff --git a/experiments/run_camera.py b/experiments/run_camera.py index fab83ac..fc6603a 100755 --- a/experiments/run_camera.py +++ b/experiments/run_camera.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/run_display_image.py b/experiments/run_display_image.py index 2562162..fdc70c8 100755 --- a/experiments/run_display_image.py +++ b/experiments/run_display_image.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/run_idle_resume.py b/experiments/run_idle_resume.py index 02fa99b..e9c611d 100755 --- a/experiments/run_idle_resume.py +++ b/experiments/run_idle_resume.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/run_suspend_resume.py b/experiments/run_suspend_resume.py index 8b495b8..37cc03f 100755 --- a/experiments/run_suspend_resume.py +++ b/experiments/run_suspend_resume.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/run_sysui.py b/experiments/run_sysui.py index 4e36f94..948b1d8 100755 --- a/experiments/run_sysui.py +++ b/experiments/run_sysui.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/run_uibench.py b/experiments/run_uibench.py index abff931..9e000d2 100755 --- a/experiments/run_uibench.py +++ b/experiments/run_uibench.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/run_uibench_cgroup.py b/experiments/run_uibench_cgroup.py index 9f8edaa..76e91b5 100755 --- a/experiments/run_uibench_cgroup.py +++ b/experiments/run_uibench_cgroup.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This experiment enables CGroup tracing for UiBench workloads # The main difference between the run_uibench.py experiment is: # - post_collect_start hook used to dump fake cgroup events diff --git a/experiments/run_youtube.py b/experiments/run_youtube.py index bde8b8d..bac2f45 100755 --- a/experiments/run_youtube.py +++ b/experiments/run_youtube.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging diff --git a/experiments/scratch/run_suspend_resume_b63331203.py b/experiments/scratch/run_suspend_resume_b63331203.py index fb6029f..34f5295 100755 --- a/experiments/scratch/run_suspend_resume_b63331203.py +++ b/experiments/scratch/run_suspend_resume_b63331203.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging from time import sleep diff --git a/libs/utils/analysis/binder_transaction_analysis.py b/libs/utils/analysis/binder_transaction_analysis.py index 231baea..82a0f5f 100644 --- a/libs/utils/analysis/binder_transaction_analysis.py +++ b/libs/utils/analysis/binder_transaction_analysis.py @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from trace import Trace import pandas as pd import matplotlib.pyplot as plt diff --git a/src/shell/android-post.sh b/src/shell/android-post.sh index c8bee3a..73dc779 100644 --- a/src/shell/android-post.sh +++ b/src/shell/android-post.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# if [ "x$TARGET_PRODUCT" == "x" ]; then echo "WARNING: Its recommended to launch from android build" diff --git a/src/shell/android-pre.sh b/src/shell/android-pre.sh index 3342def..a5735c7 100644 --- a/src/shell/android-pre.sh +++ b/src/shell/android-pre.sh @@ -1,3 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# export DEVMODE=0 diff --git a/tools/analysis/run_binder_throughput_analysis.py b/tools/analysis/run_binder_throughput_analysis.py index aa206a7..5d8fef3 100644 --- a/tools/analysis/run_binder_throughput_analysis.py +++ b/tools/analysis/run_binder_throughput_analysis.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from trace import Trace diff --git a/tools/analysis/run_binder_transaction_analysis.py b/tools/analysis/run_binder_transaction_analysis.py index e656e15..5bafe66 100644 --- a/tools/analysis/run_binder_transaction_analysis.py +++ b/tools/analysis/run_binder_transaction_analysis.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os import json diff --git a/tools/analysis/runnable.py b/tools/analysis/runnable.py index 9d4780d..4590091 100755 --- a/tools/analysis/runnable.py +++ b/tools/analysis/runnable.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from collections import namedtuple import trappy diff --git a/tools/analysis/runtime.py b/tools/analysis/runtime.py index 99e8068..933b6cd 100755 --- a/tools/analysis/runtime.py +++ b/tools/analysis/runtime.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from time import gmtime, strftime from collections import namedtuple diff --git a/tools/scripts/framestats_analysis.py b/tools/scripts/framestats_analysis.py index 5b42443..10522f6 100644 --- a/tools/scripts/framestats_analysis.py +++ b/tools/scripts/framestats_analysis.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # # Analysis of framestats deltas between 2+ runs # This analysis outputs potential regressions when comparing diff --git a/tools/scripts/power/cpu_frequency_power_average.py b/tools/scripts/power/cpu_frequency_power_average.py index 52a15bc..eb03250 100755 --- a/tools/scripts/power/cpu_frequency_power_average.py +++ b/tools/scripts/power/cpu_frequency_power_average.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from __future__ import division import os diff --git a/tools/scripts/power/generate_power_profile.py b/tools/scripts/power/generate_power_profile.py index 76c3915..b7a550b 100755 --- a/tools/scripts/power/generate_power_profile.py +++ b/tools/scripts/power/generate_power_profile.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from __future__ import division import os diff --git a/tools/scripts/power/power_average.py b/tools/scripts/power/power_average.py index 6a73ee8..d91de9b 100755 --- a/tools/scripts/power/power_average.py +++ b/tools/scripts/power/power_average.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os import argparse diff --git a/tools/scripts/py2ipynb.py b/tools/scripts/py2ipynb.py index 2496c29..1dc9e93 100755 --- a/tools/scripts/py2ipynb.py +++ b/tools/scripts/py2ipynb.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (C) 2017, ARM Limited, Google, and contributors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import argparse from IPython.nbformat import v3, v4 |