mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-12 16:30:56 +00:00
chore: fix pylint ignore list
This commit is contained in:
parent
b9bbd5fcd7
commit
a532bf0737
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ help: ## show this help
|
|||||||
|
|
||||||
## style commands:
|
## style commands:
|
||||||
|
|
||||||
PY_FILES = $(shell find . -type f -name '*.py' | 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 )
|
||||||
C_FILES = $(shell find . -type f -name '*.[ch]' | grep -f ./tools/style.c.include | grep -v -f ./tools/style.c.exclude )
|
C_FILES = $(shell find . -type f -name '*.[ch]' | grep -f ./tools/style.c.include | grep -v -f ./tools/style.c.exclude )
|
||||||
|
|
||||||
|
|
||||||
|
17
setup.cfg
17
setup.cfg
@ -56,20 +56,19 @@ python_version = 3.10
|
|||||||
|
|
||||||
[pylint.MASTER]
|
[pylint.MASTER]
|
||||||
ignore-paths=
|
ignore-paths=
|
||||||
./core/src/all_modules.py,
|
core/src/all_modules.py,
|
||||||
./core/src/apps/ethereum/tokens.py,
|
core/src/apps/ethereum/tokens.py,
|
||||||
./core/src/trezor/res/resources.py,
|
core/src/trezor/res/resources.py,
|
||||||
./core/src/trezor/messages.py,
|
core/src/trezor/messages.py,
|
||||||
./core/src/trezor/enums,
|
core/src/trezor/enums,
|
||||||
./crypto,
|
crypto,
|
||||||
./legacy,
|
legacy,
|
||||||
./storage,
|
storage,
|
||||||
fail-under=10.0
|
fail-under=10.0
|
||||||
jobs=0
|
jobs=0
|
||||||
|
|
||||||
[pylint."MESSAGE CONTROL"]
|
[pylint."MESSAGE CONTROL"]
|
||||||
disable=all
|
disable=all
|
||||||
|
|
||||||
enable=
|
enable=
|
||||||
assignment-from-none,
|
assignment-from-none,
|
||||||
chained-comparison,
|
chained-comparison,
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
^\./legacy/firmware/protob/messages_pb2\.py
|
^legacy/firmware/protob/messages_pb2\.py
|
||||||
^\./legacy/firmware/protob/messages_nem_pb2\.py
|
^legacy/firmware/protob/messages_nem_pb2\.py
|
||||||
^\./legacy/vendor
|
^legacy/vendor
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
^\./common/
|
^common/
|
||||||
^\./core/src/
|
^core/src/
|
||||||
^\./crypto/
|
^crypto/
|
||||||
^\./legacy/
|
^legacy/
|
||||||
^\./storage/
|
^storage/
|
||||||
^\./tests/
|
^tests/
|
||||||
^\./ci/
|
^ci/
|
||||||
|
Loading…
Reference in New Issue
Block a user