1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
trezor-firmware/tools
matejcik 43677c6afd style(core): add check for utils.INTERNAL_MODEL in (tuple)
The static replacer doesn't understand tuples (it's just a dumb sed,
we'd need to teach it the python ast which is a somewhat bigger project
that would also make the build slower)
so instead we spell out every "utils.INTERNAL_MODEL == xyz" equality
check separately.

If you don't, you don't get static replacement and you're checking at
run-time in every firmware for every device.

This pylint will catch the problem.
2024-08-29 10:56:21 +02:00
..
snippets fix(core): include valid staging certificate for T3T1 emulator 2024-06-25 13:35:16 +02:00
trezor-pylint-plugin style(core): add check for utils.INTERNAL_MODEL in (tuple) 2024-08-29 10:56:21 +02:00
.gitignore
build_protobuf chore(tools): simplify build_protobuf file sources creation 2022-03-04 11:42:51 +01:00
build_solana_templates.py refactor(core/tests): create template for solana 2024-08-06 13:48:20 +02:00
bump-version.py fix(tools): more general support for version-bumping that also includes boardloader 2023-09-06 11:28:34 +02:00
check_docs_summary.py docs: impl tool to list .md missing in SUMMARY.md 2024-02-13 16:51:54 +01:00
check-bitcoin-only fix: update check-bitcoin-only exceptions list 2024-03-08 13:17:12 +01:00
clang-format-check
firmware_hash.py fix(tools): Strip old header in firmware_hash.py. 2022-05-11 11:14:03 +02:00
generate_ci_docs.py chore(docs): Clean up dead links [no changelog] 2022-10-25 15:27:32 +02:00
generate-changelog-unreleased.sh docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
generate-changelog.py chore: generate-changelog.py adjustments 2024-07-12 20:43:26 +00:00
github_issues_to_csv.py style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
help.awk
pyright_tool.py style(core): upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
style.c.exclude feat(crypto): Add Brian Gladman's implementation of GCM. 2024-04-03 10:26:46 +02:00
style.c.include
style.py.exclude chore: fix pylint ignore list 2022-02-15 13:28:03 +01:00
style.py.include chore(style): include core/site_scons python files for style linting 2023-07-18 10:10:41 +02:00
towncrier.template.md docs: update towncrier template 2023-06-14 11:42:12 +02:00
towncrier.toml chore: generate-changelog.py adjustments 2024-07-12 20:43:26 +00:00
version.sh build: fix compilation on darwin 2023-05-10 20:59:00 +02:00