mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-25 22:02:05 +00:00
chore: include pb2py for python style linting
[no changelog]
This commit is contained in:
parent
d2165c3eb3
commit
a28b405f45
2
Makefile
2
Makefile
@ -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 )
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user