Skip to content

Commit 0320712

Browse files
committed
Merge pull request #180 from screamerbg/development
Added Apache 2.0 license header and also SPDX idenfitier
2 parents 69bdcc7 + 07dcfe6 commit 0320712

File tree

7 files changed

+86
-0
lines changed

7 files changed

+86
-0
lines changed

mbed/mbed.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/usr/bin/env python
2+
3+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
9+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
10+
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13+
# either express or implied.
14+
15+
216
# pylint: disable=too-many-arguments, too-many-locals, too-many-branches, too-many-lines, line-too-long, too-many-nested-blocks, too-many-public-methods, too-many-instance-attributes
317
# pylint: disable=invalid-name, missing-docstring
418

test/add_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
7+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11+
# either express or implied.
12+
113
from util import *
214

315
# Tests the result of 'mbed add'

test/import_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
7+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11+
# either express or implied.
12+
113
from util import *
214

315
# Tests 'mbed import'

test/ls_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
7+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11+
# either express or implied.
12+
113
from util import *
214

315
# Tests 'mbed ls' and provides sanity check of test framework

test/remove_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
7+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11+
# either express or implied.
12+
113
from util import *
214

315
# Tests the result of 'mbed remove'

test/sync_update_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
7+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11+
# either express or implied.
12+
113
from util import *
214

315
# Tests if a 'mbed sync', commit, and 'mbed update' works on a simple file change

test/util.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Copyright (c) 2016 ARM Limited, All Rights Reserved
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
7+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11+
# either express or implied.
12+
113
import contextlib
214
import subprocess
315
import pytest

0 commit comments

Comments
 (0)