1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-25 13:52:10 +00:00

chore: include pb2py for python style linting

[no changelog]
This commit is contained in:
M1nd3r 2025-02-25 13:49:39 +01:00 committed by Petr Sedláček
parent d2165c3eb3
commit a28b405f45
2 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ help: ## show this help
## style commands:
PY_FILES = $(shell find . -type f -name '*.py' | sed 'sO^\./OO' | grep -f ./tools/style.py.include | grep -v -f ./tools/style.py.exclude )
PY_FILES = $(shell find . -type f -name '*.py' | sed 'sO^\./OO' | grep -f ./tools/style.py.include | grep -v -f ./tools/style.py.exclude ) common/protob/pb2py
C_FILES = $(shell find . -type f -name '*.[ch]' | grep -f ./tools/style.c.include | grep -v -f ./tools/style.c.exclude )

View File

@ -133,9 +133,7 @@ WIRETYPE_ENTRY = c.Sequence(
)
# QDEF(MP_QSTR_copysign, 5171, 8, "copysign")
QDEF_RE = re.compile(
r'^QDEF\(MP_QSTR(\S+), ([0-9]+), ([0-9])+, "(.*)"\)$'
)
QDEF_RE = re.compile(r'^QDEF\(MP_QSTR(\S+), ([0-9]+), ([0-9])+, "(.*)"\)$')
@dataclass