mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
43677c6afd
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. |
||
---|---|---|
.. | ||
snippets | ||
trezor-pylint-plugin | ||
.gitignore | ||
build_protobuf | ||
build_solana_templates.py | ||
bump-version.py | ||
check_docs_summary.py | ||
check-bitcoin-only | ||
clang-format-check | ||
firmware_hash.py | ||
generate_ci_docs.py | ||
generate-changelog-unreleased.sh | ||
generate-changelog.py | ||
github_issues_to_csv.py | ||
help.awk | ||
pyright_tool.py | ||
style.c.exclude | ||
style.c.include | ||
style.py.exclude | ||
style.py.include | ||
towncrier.template.md | ||
towncrier.toml | ||
version.sh |