mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-20 00:59:02 +00:00
chore(core): remove unused all_modules.py
[no changelog]
This commit is contained in:
parent
1ddba2526b
commit
893bd1e69b
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4,7 +4,6 @@ rust/trezor-client/src/messages/generated.rs linguist-generated
|
||||
core/embed/rust/src/translations/generated/*.rs linguist-generated
|
||||
core/embed/rust/src/ui/layout_*/fonts/font_*.rs linguist-generated
|
||||
|
||||
core/src/all_modules.py linguist-generated
|
||||
core/src/trezor/messages.py linguist-generated
|
||||
core/src/trezor/enums/*.py linguist-generated
|
||||
core/src/apps/common/coininfo.py linguist-generated
|
||||
|
@ -1,6 +1,5 @@
|
||||
[MASTER]
|
||||
ignore-paths=
|
||||
core/src/all_modules.py,
|
||||
core/src/apps/ethereum/tokens.py,
|
||||
core/src/trezor/res/resources.py,
|
||||
core/src/trezor/messages.py,
|
||||
|
@ -4,8 +4,7 @@
|
||||
],
|
||||
"exclude": [
|
||||
"src/apps/monero",
|
||||
"src/typing.py",
|
||||
"src/all_modules.py"
|
||||
"src/typing.py"
|
||||
],
|
||||
"stubPath": "mocks/generated",
|
||||
"typeCheckingMode": "basic",
|
||||
|
@ -91,7 +91,7 @@ def generate(env):
|
||||
)
|
||||
|
||||
env["BUILDERS"]["FrozenCFile"] = SCons.Builder.Builder(
|
||||
action="$MPY_TOOL -f -q $qstr_header $SOURCES --skip-freeze all_modules.py > $TARGET",
|
||||
action="$MPY_TOOL -f -q $qstr_header $SOURCES > $TARGET",
|
||||
)
|
||||
|
||||
|
||||
|
@ -27,7 +27,6 @@ else
|
||||
fi
|
||||
|
||||
EXCLUDES="\
|
||||
src/all_modules.py,\
|
||||
src/typing.py,\
|
||||
src/apps/ethereum/tokens.py,\
|
||||
src/apps/webauthn/knownapps.py,\
|
||||
|
@ -257,7 +257,6 @@ if __name__ == "__main__":
|
||||
"knownapps.py",
|
||||
"networks.py",
|
||||
"tokens.py",
|
||||
"all_modules.py",
|
||||
"workflow_handlers.py",
|
||||
"messages.py",
|
||||
"errors.py",
|
||||
|
@ -129,7 +129,7 @@ if msg_type == MessageType.HelloWorldRequest:
|
||||
|
||||
The above will make sure that the `msg` (of type `HelloWorldRequest`) will be supplied into the `hello_world` function we created.
|
||||
|
||||
Lastly, running `make gen` in the root directory makes sure the new `misc/hello_world.py` module will be discovered. `core/src/all_modules.py` should be modified as a result.
|
||||
Lastly, running `make gen` in the root directory makes sure the new `misc/hello_world.py` module will be discovered.
|
||||
|
||||
These are all the necessary code changes in `core`. For this code to work, we will still need to build it, but that will be done in Part 4. Next, we will focus on the client implementation.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user