Skip to content

Commit ba52067

Browse files
committed
pybricksdev: add license/copyright
Some files were missing the license/copyright header
1 parent 709cf90 commit ba52067

File tree

8 files changed

+24
-2
lines changed

8 files changed

+24
-2
lines changed

pybricksdev/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
14
from importlib.metadata import version
25

36
try:

pybricksdev/_dfu_create.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/usr/bin/python
1+
# SPDX-License-Identifier: LGPL-3.0-only
2+
# SPDX-License-Identifier: MIT
3+
# Copyright (c) 2021 The Pybricks Authors
24

35
# Written by Antonio Galea - 2010/11/18
46
# Distributed under Gnu LGPL 3.0

pybricksdev/_dfu_upload.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/usr/bin/env python
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
24
# This file is part of the OpenMV project.
35
# Copyright (c) 2013/2014 Ibrahim Abdelkader <[email protected]>
46
# This work is licensed under the MIT license, see the file LICENSE for

pybricksdev/ble.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
14
import asyncio
25
import logging
36

pybricksdev/connections.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
14
import asyncio
25
import base64
36
import json

pybricksdev/repl_installer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
14
from asyncio import run, sleep
25
from zipfile import ZipFile
36

pybricksdev/resources/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
14
"""Resource files.
25
36
These resources are intended to be used with the standard ``importlib.resources``

pybricksdev/usbconnection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 The Pybricks Authors
3+
14
import logging
25
import asyncio
36
import aioserial

0 commit comments

Comments
 (0)