What changed, and why it matters
This commit only fixes the formatting of license headers in automatically generated Python type-stub files. It moves the SPDX license notice from a standalone comment line into the generated docstring block. There is no change to program logic, no security fix, and no vulnerability.
No security action required. This is a cosmetic/generated-file maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff regenerates 11 mypy-protobuf .pyi stub files under py/bitbox02/bitbox02/communication/generated/. The only material change is the placement of the ‘SPDX-License-Identifier: Apache-2.0’ text: previously it was a separate comment line above the generated docstring, now it is appended inside the docstring. No protobuf definitions, type annotations, imports, or runtime behavior changed.
Changed components
py/bitbox02/bitbox02/communication/generated/*_pb2.pyiInspect captured patch +11 / −31
diff --git a/py/bitbox02/bitbox02/communication/generated/antiklepto_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/antiklepto_pb2.pyi
index e4d8eb8..b75aebe 100644
--- a/py/bitbox02/bitbox02/communication/generated/antiklepto_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/antiklepto_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import google.protobuf.descriptor
diff --git a/py/bitbox02/bitbox02/communication/generated/bitbox02_system_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/bitbox02_system_pb2.pyi
index f68c4a8..d7c4c20 100644
--- a/py/bitbox02/bitbox02/communication/generated/bitbox02_system_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/bitbox02_system_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import google.protobuf.descriptor
diff --git a/py/bitbox02/bitbox02/communication/generated/bluetooth_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/bluetooth_pb2.pyi
index 0218890..e1478f0 100644
--- a/py/bitbox02/bitbox02/communication/generated/bluetooth_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/bluetooth_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import google.protobuf.descriptor
diff --git a/py/bitbox02/bitbox02/communication/generated/btc_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/btc_pb2.pyi
index 9a33361..954d5e7 100644
--- a/py/bitbox02/bitbox02/communication/generated/btc_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/btc_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
from . import antiklepto_pb2
import builtins
diff --git a/py/bitbox02/bitbox02/communication/generated/cardano_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/cardano_pb2.pyi
index f83f7a5..9851de5 100644
--- a/py/bitbox02/bitbox02/communication/generated/cardano_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/cardano_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import collections.abc
diff --git a/py/bitbox02/bitbox02/communication/generated/common_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/common_pb2.pyi
index e74b137..651f2ad 100644
--- a/py/bitbox02/bitbox02/communication/generated/common_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/common_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import collections.abc
diff --git a/py/bitbox02/bitbox02/communication/generated/eth_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/eth_pb2.pyi
index 1452cc3..0eefed6 100644
--- a/py/bitbox02/bitbox02/communication/generated/eth_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/eth_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
from . import antiklepto_pb2
import builtins
diff --git a/py/bitbox02/bitbox02/communication/generated/hww_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/hww_pb2.pyi
index 507c612..9747a40 100644
--- a/py/bitbox02/bitbox02/communication/generated/hww_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/hww_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
from . import backup_commands_pb2
from . import bitbox02_system_pb2
diff --git a/py/bitbox02/bitbox02/communication/generated/mnemonic_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/mnemonic_pb2.pyi
index 70b8a6b..599ea8b 100644
--- a/py/bitbox02/bitbox02/communication/generated/mnemonic_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/mnemonic_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import google.protobuf.descriptor
diff --git a/py/bitbox02/bitbox02/communication/generated/perform_attestation_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/perform_attestation_pb2.pyi
index 2178082..79de650 100644
--- a/py/bitbox02/bitbox02/communication/generated/perform_attestation_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/perform_attestation_pb2.pyi
@@ -1,7 +1,7 @@
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import google.protobuf.descriptor
diff --git a/py/bitbox02/bitbox02/communication/generated/system_pb2.pyi b/py/bitbox02/bitbox02/communication/generated/system_pb2.pyi
index 4b926b2..2f07920 100644
--- a/py/bitbox02/bitbox02/communication/generated/system_pb2.pyi
+++ b/py/bitbox02/bitbox02/communication/generated/system_pb2.pyi
@@ -1,9 +1,7 @@
-# SPDX-License-Identifier: Apache-2.0
-
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
-"""
+SPDX-License-Identifier: Apache-2.0"""
import builtins
import google.protobuf.descriptor
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.