Skip to content

Commit 31f2245

Browse files
committed
feat: add proper SPDX license header info for MIT code
1 parent eb3022d commit 31f2245

43 files changed

Lines changed: 174 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 7 additions & 0 deletions

custom_components/meshtastic/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
"""
26
Custom integration to integrate Meshtastic with Home Assistant.
37

custom_components/meshtastic/aiomeshtastic/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import contextlib # noqa: D104
26

37
from .connection.tcp import TcpConnection

custom_components/meshtastic/aiomeshtastic/connection/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import asyncio # noqa: D104
26
import contextlib
37
import logging

custom_components/meshtastic/aiomeshtastic/connection/bluetooth.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
# SPDX-FileCopyrightText: 2025 Hendrik @novag
3+
#
4+
# SPDX-License-Identifier: MIT
5+
16
import asyncio
27
import struct
38
from collections.abc import AsyncGenerator

custom_components/meshtastic/aiomeshtastic/connection/errors.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
from custom_components.meshtastic.aiomeshtastic.errors import MeshtasticError
26

37

custom_components/meshtastic/aiomeshtastic/connection/listener.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import asyncio
26
from collections.abc import AsyncIterable
37
from types import TracebackType

custom_components/meshtastic/aiomeshtastic/connection/serial.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import asyncio
26
import contextlib
37
import re

custom_components/meshtastic/aiomeshtastic/connection/streaming.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import asyncio
26
from abc import abstractmethod
37
from collections.abc import AsyncIterable

custom_components/meshtastic/aiomeshtastic/connection/tcp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2024-2025 Pascal Brogle @broglep
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import asyncio
26
from asyncio import StreamReader, StreamWriter
37

0 commit comments

Comments
 (0)